text
stringlengths
2
99.9k
meta
dict
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
{ "pile_set_name": "Github" }
// // MenuItemCollection.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without re...
{ "pile_set_name": "Github" }
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2009, 2012 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribu...
{ "pile_set_name": "Github" }
<?php /** * Access English lexicon topic * * @language en * @package modx * @subpackage lexicon */ $_lang['access_category_management_msg'] = 'Manage User Group member access to Elements via Categories and optionally apply access policies.'; $_lang['access_category_err_ae'] = 'An ACL for that Category already exi...
{ "pile_set_name": "Github" }
#!/bin/sh # Called by kernel when last child in cgroup exists BASE=/sys/fs/cgroup/finit PROC=`basename $1` DIR="$BASE$1" logit -p daemon.info -t finit "$PROC stopped, cleaning up control group $DIR" rmdir $DIR exit 0
{ "pile_set_name": "Github" }
package gorm import ( "fmt" "strings" ) // Define callbacks for creating func init() { DefaultCallback.Create().Register("gorm:begin_transaction", beginTransactionCallback) DefaultCallback.Create().Register("gorm:before_create", beforeCreateCallback) DefaultCallback.Create().Register("gorm:save_before_associatio...
{ "pile_set_name": "Github" }
<div class="add"> <h2>添加书本:</h2> <label>标题: <input [(ngModel)]="books.title" placeholder="请输入标题"> </label> <label>作者: <input [(ngModel)]="books.author" placeholder="请输入作者"> </label> <label>书本id: <input [(ngModel)]="books.id" placeholder="请输入书本id"> </label> <label>封面地址: <input [(ngModel)]...
{ "pile_set_name": "Github" }
return $this->successResponse( [% model_was_added %], $this->transform($[% model_name_singular_variable %]) );
{ "pile_set_name": "Github" }
package org.hexworks.zircon.internal.component.renderer import org.hexworks.zircon.api.component.renderer.ComponentRenderContext import org.hexworks.zircon.api.component.renderer.ComponentRenderer import org.hexworks.zircon.api.data.Position import org.hexworks.zircon.api.graphics.TileGraphics import org.hexworks.zirc...
{ "pile_set_name": "Github" }
package test.assertk.assertions.support import assertk.assertions.support.ListDiffer import kotlin.test.Test import kotlin.test.assertEquals class ListDifferTest { @Test fun empty_diff() { val diff = ListDiffer.diff(emptyList<Any>(), emptyList<Any>()) assertEquals(emptyList(), diff) } @T...
{ "pile_set_name": "Github" }
from TensorMol import * import time import random PARAMS["max_checkpoints"] = 3 os.environ["CUDA_VISIBLE_DEVICES"]="0" # Takes two nearly identical crystal lattices and interpolates a core/shell structure, must be oriented identically and stoichiometric def InterpolateGeometries(): a=MSet('cspbbr3_tess') #a.ReadGDB9...
{ "pile_set_name": "Github" }
<wmts> <id>WMTSInfoImpl-f946a9e:16005080bca:-8000</id> <enabled>true</enabled> <name>WMTS</name> <title>GeoServer Web Map Tile Service</title> <maintainer>http://geoserver.org/com</maintainer> <abstrct>A compliant implementation of WMTS service.</abstrct> <accessConstraints>NONE</accessConstraints> <fee...
{ "pile_set_name": "Github" }
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2015 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright noti...
{ "pile_set_name": "Github" }
{ "name": "tinyproxy", "full_name": "tinyproxy", "oldname": null, "aliases": [ ], "versioned_formulae": [ ], "desc": "HTTP/HTTPS proxy for POSIX systems", "license": "GPL-2.0", "homepage": "https://tinyproxy.github.io/", "versions": { "stable": "1.10.0", "head": null, "bottle": true ...
{ "pile_set_name": "Github" }
<!-- [START maps_combining_data_iframe] --> <script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBIwzALxUPNbatRBj3Xi1Uhp0fFzwWNBkE&callback=initMap&libraries=&v=weekly" defer ></script> <style type="text/css"> html, body, ...
{ "pile_set_name": "Github" }
// Test TCP_MAXSEG works on passive/server TCP connections. `../common/defaults.sh` // Set up a listening socket. 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 +0 bind(3, ..., ...) = 0 +0 listen(3, 1) = 0 // Set MSS to 1100. +.01 setsockopt(3, SOL_TC...
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: 5578b82f17c954843901e8b68ca21dcc labels: - lowpoly - rock - low-poly - rocks - art - pack - set - free timeCreated: 1457638041 licenseType: Store NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ package com.tangosol.io.pof.reflect; import com.tangosol.io.ReadBuffer; import com.tangosol.io.pof.PofContext; /** * PofUniformArray is {...
{ "pile_set_name": "Github" }
{ "author": "jbenet", "bugs": {}, "gx": { "dvcsimport": "github.com/libp2p/go-msgio" }, "gxDependencies": [ { "hash": "QmYNGtJHgaGZkpzq8yG6Wxqm6EQTKqgpBfnyyGBKbZeDUi", "name": "go-randbuf", "version": "0.0.0" }, { "author": "Stebalien", "hash": "QmQDvJoB6aJWN3sjr3...
{ "pile_set_name": "Github" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! \page getdescendants \addindex getdescendants \section getdescendants getdescendants \subsection operatio...
{ "pile_set_name": "Github" }
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO. // You may push code into the target .java compilation unit if you wish to edit any member(s). package nl.bzk.brp.model.data.kern; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import n...
{ "pile_set_name": "Github" }
Reparsing block ---------- PerlStringContentElementImpl(Perl5: STRING_CONTENT_QQ) ---------- start qq4 end qq4 ---------- After typing ---------- sub something { say 'sub start'; say <<'MARKER_Q1'; start q1 MARKER_Q1 say <<'MARKER_Q2'; start q2 MARKER_Q2 say <<~'MARKER_Q1'; ...
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "ic_routing_get_light.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "ic_routing_get_light@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "ic_routing_get_light@3x.p...
{ "pile_set_name": "Github" }
# -*- mode: snippet -*- # name: se # key: se # -- import sys; sys.exit(-1)
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#00000000"> <LinearLayout android:layout_width="match_parent" android:layout_hei...
{ "pile_set_name": "Github" }
249.642 150.897 599.615 213.566 0.363847 0.925449 HessianAffine RootSIFT 0 270.133 114.316 481.291 142.384 0.38751 0.38751 MSER RootSIFT 0 668.297 308.817 274.305 455.039 0.402631 0.402631 HessianAffine RootSIFT 0 23.7186 194.456 540.396 317.712 0.407226 0.407226 HessianAffine RootSIFT 0 186.456 143.079 695.443 250.05 ...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Warning Messages</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body bgcolor="#ffffff"> <H1><a name="Warnings"></a>15 Warning Messages</H1> <!-- INDEX --> <div class="sectiontoc"> <ul> <li><a href="#Warnings...
{ "pile_set_name": "Github" }
#!/usr/bin/env python """ This is a generic fuzz testing tool, see --help for more information. """ import os import sys import random import subprocess import itertools class TestGenerator: def __init__(self, inputs, delete, insert, replace, insert_strings, pick_input): self.inputs = [(...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2011 Jan Kaluza * Licensed under the Simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include <Swiften/Elements/SpectrumErrorPayload.h> namespace Swift { SpectrumErrorPayload::SpectrumErrorPayload(Error error) : error_(error) { } }
{ "pile_set_name": "Github" }
<?php $out = ''; foreach ($this->elements as $element) { $field = $element['field'] ?? ''; $functionButtons = $element['functionButtons'] ?? ''; $before = $element['before'] ?? ''; $after = $element['after'] ?? ''; $out .= $before; $out .= '<div class="input-group">'; $out .= $field; ...
{ "pile_set_name": "Github" }
CreateIPSecConnectionDetails ============================ .. currentmodule:: oci.core.models .. autoclass:: CreateIPSecConnectionDetails :show-inheritance: :special-members: __init__ :members: :undoc-members: :inherited-members:
{ "pile_set_name": "Github" }
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2011 Zend Technologies Ltd. (http://www.zend.com) | +---------...
{ "pile_set_name": "Github" }
#import <Foundation/Foundation.h> /** @brief Instance used by subclasses to provide access to service response dictionary entries using methods with strict return type. @author Sergey Mamontov @since 4.0 @copyright © 2010-2018 PubNub, Inc. */ @interface PNServiceData : NSObject #pragma mark - @e...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title>module Jekyll::Commands - jekyll-watch-1.1.0 Documentation</title> <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet"> <script type="text/javascript"> var rdoc_rel_prefix = "../"; </scrip...
{ "pile_set_name": "Github" }
using AutoMapper; using Grand.Core.Infrastructure.Mapper; using Grand.Web.Areas.Admin.Models.Localization; using System.Collections.Generic; using System.Linq; namespace Grand.Web.Areas.Admin.Infrastructure.Mapper.Profiles { public class LanguageProfile : Profile, IMapperProfile { public LanguageProfi...
{ "pile_set_name": "Github" }
/* * AMD Cryptographic Coprocessor (CCP) driver * * Copyright (C) 2013,2016 Advanced Micro Devices, Inc. * * Author: Tom Lendacky <thomas.lendacky@amd.com> * Author: Gary R Hook <gary.hook@amd.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
{ "pile_set_name": "Github" }
version: 1 dn: m-oid=2.5.6.21,ou=objectClasses,cn=core,ou=schema creatorsname: uid=admin,ou=system objectclass: metaObjectClass objectclass: metaTop objectclass: top m-oid: 2.5.6.21 m-name: pkiUser m-description: RFC2587: a PKI user m-obsolete: FALSE m-supobjectclass: top entryUUID: 6b2f2a96-b5de-4d9a-86d5-e6b2d3f1e1a4...
{ "pile_set_name": "Github" }
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ !function ($) { $(function(){ var $window = $(window) // Disable certain links in docs $('section [href^=#]').click(function (e) { e.preventDefault() }) // sid...
{ "pile_set_name": "Github" }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % SU2 configuration file % % Case description: Adjoint transonic inviscid flow around a NACA0012 airfoil...
{ "pile_set_name": "Github" }
arXiv arxiv a ar arX arXi v iv Xiv rXiv BLOCKSTART LINESTART ALIGNEDLEFT NEWFONT HIGHERFONT 0 0 NOCAPS NODIGIT 0 0 0 0 0 0 0 0 NOPUNCT 1 0 1 0 : : : : : : : : : : BLOCKIN LINEIN ALIGNEDLEFT SAMEFONT SAMEFONTSIZE 0 0 ALLCAP NODIGIT 1 0 0 0 0 0 0 0 PUNCT 1 0 1 0 cond cond c co con cond d nd ond cond BLOCKIN LINEIN ALIGNE...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="RunConfigurationProducerService"> <option name="ignoredProducers"> <set> <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" /> <option value="org.jetbrains.pl...
{ "pile_set_name": "Github" }
_base_ = './fcn_hr18_512x512_160k_ade20k.py' model = dict( pretrained='open-mmlab://msra/hrnetv2_w48', backbone=dict( extra=dict( stage2=dict(num_channels=(48, 96)), stage3=dict(num_channels=(48, 96, 192)), stage4=dict(num_channels=(48, 96, 192, 384)))), decode_he...
{ "pile_set_name": "Github" }
# This workflow will build all flavors of your React Native for Windows app # project every time changes are pushed to master. This checks that every # change builds on Windows. name: App CI on: push: branches: - master jobs: # This job builds and deploys both Debug and Release versions of ...
{ "pile_set_name": "Github" }
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>net.anotheria</groupId> <artifactId>moskito-integration</artifactId> <version>2.10.0-SNAPSHO...
{ "pile_set_name": "Github" }
#!/usr/bin/env ruby require 'rubygems' # or use Bundler.setup require 'eventmachine' class SimpleChatServer < EM::Connection @@connected_clients = Array.new # # EventMachine handlers # def post_init @@connected_clients.push(self) puts "A client has connected..." end def unbind @@connect...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.jpa</group...
{ "pile_set_name": "Github" }
# $NetBSD: md.sparc64,v 1.254 2015/07/03 18:28:37 matt Exp $ ./libexec/ld.elf_so-sparc base-sysutil-bin compat,pic ./sbin/edlabel base-sysutil-root obsolete ./usr/bin/fdformat base-util-bin ./usr/libexec/ld.elf_so-sparc base-sysutil-bin compat,pic ./usr/lkm/compat_netbsd32.o base-obsolete obsolete ./usr/l...
{ "pile_set_name": "Github" }
jobs: - job: Build pool: vmImage: 'Ubuntu 16.04' strategy: maxParallel: 10 matrix: %%VERSIONS%% steps: - template: ../templates/azure-steps.yml
{ "pile_set_name": "Github" }
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
{ "pile_set_name": "Github" }
From baeca7ea594fe9faa1d40d35e76066c6002ca638 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 10 Nov 2012 17:45:03 +0100 Subject: [PATCH] Add more XDR files needed to build rpcbind on top of libtirpc Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ...
{ "pile_set_name": "Github" }
//OpenCL variables #include <oclUtils.h> cl_platform_id cpPlatform; cl_context cxGPUContext; cl_command_queue cqCommandQueue; cl_program hProgram; cl_kernel hKernel; cl_mem hVbo; cl_mem X[2]; cl_mem X_last[2]; extern int readID, writeID; void createProgramAndKernel(const char * clSourcefile,...
{ "pile_set_name": "Github" }
# Mac 命令行相关技巧 ## nano 编辑器 + ctrl 表示 ^ + F3保存,F2退出 ## 切换默认 bash 1. `sudo nano /etc/shells` 2. add `/usr/local/bin/fish` to your list of shells 3. `chsh -s /usr/local/bin/fish` ![cmd1](./_resources/cmd1.jpg) 切换回来大概也就是这样,换对应路径即可
{ "pile_set_name": "Github" }
#pragma once #include "public.h" typedef struct { Block *base; int front; int rear; }SqQueue; void initQueue(SqQueue &Q) { Q.base = (Block*)malloc(MAXQSIZE * sizeof(Block)); if (!Q.base) return; Q.front = Q.rear = 0; } void enQueue(SqQueue &Q, Block e) { if ((Q.rear + 1) % MAXQSIZE == Q...
{ "pile_set_name": "Github" }
namespace Unity.IO.Compression { using System; using System.Diagnostics; internal class OutputBuffer { private byte[] byteBuffer; // buffer for storing bytes private int pos; // position private uint bitBuf; // store uncomplete bits private int bitCount;...
{ "pile_set_name": "Github" }
interactions: - request: body: !!python/unicode '{}' headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '2' Content-Type: - application/json User-Agent: - python-requests/2.22.0 method: ...
{ "pile_set_name": "Github" }
// +build windows package fs import ( "os" "syscall" "unsafe" ) var ( modkernel32 = syscall.NewLazyDLL("kernel32.dll") procLockFileEx = modkernel32.NewProc("LockFileEx") ) const ( errorLockViolation = 0x21 ) func mmap(f *os.File, fileSize int64, mmapSize int64) ([]byte, int64, error) { size := fileSize ...
{ "pile_set_name": "Github" }
\sum_{m = 1}^{\infty}\sum_{n = 1}^{\infty}\frac{m^{2}\, n}{3^{m}\left( m\, 3^{n} + n\, 3^{m} \right)}
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace TZM.XFramework.Data { /// <summary> /// 提供对数据类型未知的特定数据源进行 &lt;查&gt; 操作的语义表示 /// </summary> public interface IDbQueryableInfo_Select { /// <summary> /// JOIN 表达式集合 /// </summary> ...
{ "pile_set_name": "Github" }
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2012, Cameron Rich * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of c...
{ "pile_set_name": "Github" }
// Copyright (c) 2006, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditi...
{ "pile_set_name": "Github" }
# Copyright (c) 2012 Giorgos Verigakis <verigak@gmail.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
{ "pile_set_name": "Github" }
# Demonstrate the usage of templates with docker service create ## Official Docker Documentation [Create Docker Swarm Services using templates](https://docs.docker.com/engine/reference/commandline/service_create/#create-services-using-templates) ## Asciinema Examples [Demonstrate the usage of templates with docker ...
{ "pile_set_name": "Github" }
// // Wire // Copyright (C) 2016 Wire Swiss GmbH // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This pr...
{ "pile_set_name": "Github" }
* The `yb-docker-ctl` utility initializes the YEDIS API automatically. * Run redis-cli to connect to the service. ```sh $ docker exec -it yb-tserver-n1 /home/yugabyte/bin/redis-cli ``` ``` 127.0.0.1:6379> ``` * Run a Redis command to verify it is working. ```sh 127.0.0.1:6379> PING ``` ``` "PONG" ```
{ "pile_set_name": "Github" }
/** * */
{ "pile_set_name": "Github" }
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <odoo noupdate="True"> <!-- we add l10n_latam_document_number on on a separete line because we need l10n_latam_document_type_id to be auto assigned so that account.move.name can be computed with the _inverse_l10n_latam_document_number --> <!-- Invoice from gritti support...
{ "pile_set_name": "Github" }
/* Copyright 2015 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
{ "pile_set_name": "Github" }
import { mount, route } from 'navi' export default mount({ '/': route({ title: "React Site", getView: () => import('./index.mdx') }), '/getting-started': route({ title: "Getting Started", getView: async () => { // This simulates some async content loading, so that // you can test...
{ "pile_set_name": "Github" }
# 蒸馏通道剪裁模型教程 该文档介绍如何使用[PaddleSlim](https://paddlepaddle.github.io/PaddleSlim)的蒸馏接口和卷积通道剪裁接口对检测库中的模型进行卷积层的通道剪裁并使用较高精度模型对其蒸馏。 在阅读该示例前,建议您先了解以下内容: - [检测库的使用方法](https://github.com/PaddlePaddle/PaddleDetection) - [PaddleSlim通道剪裁API文档](https://paddlepaddle.github.io/PaddleSlim/api/prune_api/) - [PaddleSlim蒸馏API文档](https:/...
{ "pile_set_name": "Github" }
html { padding:0 10px; } body { margin:0; padding:10px 0; background:#000; } #epiceditor-preview h1, #epiceditor-preview h2, #epiceditor-preview h3, #epiceditor-preview h4, #epiceditor-preview h5, #epiceditor-preview h6, #epiceditor-preview p, #epiceditor-preview blockquote { margin: 0; padding: 0; } #e...
{ "pile_set_name": "Github" }
/* * OpenSpeedMonitor (OSM) * Copyright 2014 iteratec GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- from __future__ import division, absolute_import, print_function import sys import gc import pytest import numpy as np from numpy.testing import ( assert_, assert_equal, assert_raises, assert_warns, HAS_REFCOUNT, assert_raises_regex, ) import textwrap class TestArrayRepr(object): ...
{ "pile_set_name": "Github" }
package cmd import ( "bytes" "fmt" "io" "io/ioutil" "os" "sort" "strings" "time" "github.com/MakeNowJust/heredoc" docker "github.com/fsouza/go-dockerclient" "github.com/golang/glog" "github.com/spf13/cobra" kapi "k8s.io/kubernetes/pkg/api" kapierrors "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernet...
{ "pile_set_name": "Github" }
@mixin popover { z-index: 300; &.popover--top:before { content: ''; display: block; position: absolute; bottom: -8px; left: 50%; border-color: getColor(n4) transparent transparent transparent; border-style: solid; border-width: 7px; margin-left: -7px; } &.popover--right:be...
{ "pile_set_name": "Github" }
namespace App.Metrics { public static class Metrics { public static IMetricsRoot Instance { get; private set; } internal static void SetInstance(IMetricsRoot metricsRoot) { Instance = metricsRoot; } } }
{ "pile_set_name": "Github" }
.tab-menu { margin-bottom: 0!important; } .main .menu.text { margin-top: 0!important; margin-bottom: 0!important; } .main .form { margin-top: 1em; }
{ "pile_set_name": "Github" }
(function($) { 'use strict'; var SelectBox = { cache: {}, init: function(id) { var box = document.getElementById(id); var node; SelectBox.cache[id] = []; var cache = SelectBox.cache[id]; var boxOptions = box.options; var box...
{ "pile_set_name": "Github" }
// (C) Copyright Edward Diener 2015 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #if !defined(BOOST_VMD_ARRAY_HPP) #define BOOST_VMD_ARRAY_HPP #include <boost/vmd/detail...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="20dp" /> <padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" /> <solid andro...
{ "pile_set_name": "Github" }
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
{ "pile_set_name": "Github" }
### 【友盟+】统计、推送、分享三合一组件化SDK集成Demo --- * 本Demo工程仅适用于【友盟+】组件化版本SDK,即包含基础组件库umeng-common-x.x.x.jar的SDK版本。 * 集成v2.0.0(umeng-common-2.0.0.jar)及更高版本基础组件库的客户,请参照分支"master"代码集成。 * 集成v2.0.0以下(不包含2.0.0,如:umeng-common-1.5.4.jar)版本基础组件库的客户,请参照分支"common_1.5.4"代码集成。 * 集成v9.0.0及以上(包含9.0.0)版本统计、游戏统计的客户,请参照分支"master"代码集成。 * 集成9.2....
{ "pile_set_name": "Github" }
class C001_NumberLiterals { { int x = 0; int y = 1000000; long z = 100000000000L; int a = 0x1fa1; int b = 0100; double c = 100.0; double d = 0.0; double e = 123e10; double f = 123e-10; double g = 123e+10; double h = 0x1p1; ...
{ "pile_set_name": "Github" }
/* * The MIT License * * Copyright (c) 2020, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includin...
{ "pile_set_name": "Github" }
var B = require("./sourceB"); var C = require("./sourceC"); module.exports = B + C;
{ "pile_set_name": "Github" }
<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <head> <meta charset="utf-8"> <title>CSS Test: various 'object-position' values on a fixed-size embed element, with a PNG image and 'object-fit:contain'.</title> <li...
{ "pile_set_name": "Github" }
{ "desc": "Dell 5520", "control": 1, "data": 0 }
{ "pile_set_name": "Github" }
function kernel = traceKernelKPCASystemsSqrtHist(sysParams1, sysParams2, lambda) % (c) Rizwan Chaudhry - JHU Vision Lab Y_12 = [sysParams1.Yoriginal, sysParams2.Yoriginal]; % Evaluate the kernel on these vectors; Y_12 = sqrt(Y_12); kernel_12 = Y_12'*Y_12; N1 = size(sysParams1.Yoriginal,2); N2 = size(sysP...
{ "pile_set_name": "Github" }
object DatePickerForm: TDatePickerForm Left = 0 Top = 0 ClientHeight = 567 ClientWidth = 384 FormFactor.Width = 1920 FormFactor.Height = 1022 FormFactor.Devices = [dkDesktop] DesignerMobile = True DesignerWidth = 384 DesignerHeight = 592 DesignerDeviceName = 'Google Nexus 4' DesignerOrientation ...
{ "pile_set_name": "Github" }
坂井里美最新番号 【GAH-100】萌えコス8時間 2 【GAH-097】絶対的最強美少女30人8時間 3 【GAH-087】俺たちのいいなりマネージャー8時間 【GNE-177】俺達のいいなり女子マネージャー 3 【GNE-165】最強のAV女優お貸しします。20人4時間 4 【ABP-468】女子マネージャーは、僕達の性処理ペット。 018 坂井里美 【CHN-102】新・絶対的美少女、お貸しします。 ACT.56 坂井里美 【ABP-442】坂井里美の、いっぱいコスって萌えてイこう! 【BGN-033】新人 プレステージ専属デビュー 坂井里美</a>2016-01-08プレステージ$$$beginning17...
{ "pile_set_name": "Github" }
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/machinelearning/model/DeleteTagsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <a...
{ "pile_set_name": "Github" }
# determine path to here, package name from __future__ import print_function from __future__ import division from __future__ import absolute_import import os def rreplace(s, old, new, occurrence): li = s.rsplit(old, occurrence) return new.join(li) buildpath = (os.popen('pwd').read()).strip('\n') buildname = ...
{ "pile_set_name": "Github" }
require('../modules/core.dict'); module.exports = require('../modules/_core').Dict;
{ "pile_set_name": "Github" }
/* jQuery grab Ported from Jin.js::gestures Created by Jussi Kalliokoski Licensed under MIT License. */ (function($){ var extend = $.extend, mousedown = 'mousedown', mousemove = 'mousemove', mouseup = 'mouseup', touchstart = 'touchstart', touchmove = 'touchmove', touchend = 'touchend', touchcancel = ...
{ "pile_set_name": "Github" }
--- title: "工欲善其事必先利其器--Java Web快速开发框架--Springside" wordpress_id: 1188 wordpress_url: http://www.wsria.com/?p=1188 date: 2010-10-12 00:45:38 +08:00 tags: - springside --- 今天开始“工欲善其事必先利其器”系列第一篇,介绍目前可以快速开发并且有规范可维护性的开源框架——<span style="background-color: #00ff00;">Springside</span>。 <h3>一、老板,来二两点废话:</h3> 如果你从事J...
{ "pile_set_name": "Github" }
package(default_visibility = ["//visibility:public"]) load( "@io_bazel_rules_go//go:def.bzl", "go_library", ) go_library( name = "go_default_library", srcs = [ "card.go", "http.go", ], importpath = "go-common/app/service/main/card/server/http", tags = ["automanaged"], v...
{ "pile_set_name": "Github" }
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Amitakhya Phukan <aphukan@fedoraproject.org>, 2009. # Nilamdyuti Goswami <ngoswami@redhat.com>, 2011, 2014. msgid "" msgstr "" "Project-Id-Version: as\n" "Report-Msgid-Bugs-To: http://bugzil...
{ "pile_set_name": "Github" }
(* TEST * expect *) let id x = x let apply x f = f x let pair x y = x, y module Id = struct let (let+) = apply let (and+) = pair end;; [%%expect{| val id : 'a -> 'a = <fun> val apply : 'a -> ('a -> 'b) -> 'b = <fun> val pair : 'a -> 'b -> 'a * 'b = <fun> module Id : sig val ( let+ ) : 'a -> ('a -> '...
{ "pile_set_name": "Github" }