text
string
label
int64
{'name': 'validate_multi_locations@folium/utilities.py', 'description': 'Validate an iterable with possibly nested lists of coordinate pairs.', 'signature': 'def validate_multi_locations('}</s>TypeJsonValue = Union[TypeJsonValueNoNone, None]
0
{'name': 'graph_search@aimacode/search.py', 'description': 'Search through the successors of a problem to find a goal.\nThe argument frontier should be an empty queue.\nIf two paths reach a state, only use the first one. [Figure 3.7]', 'signature': 'def graph_search(problem, frontier):'}</s>{'name': 'PriorityQueue@aima...
0
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTSCOPE_ALL = 2
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'call@linodecli/plugins/obj/__init__.py', 'description': 'This is called when the plugin is invoked', 'signature': 'def call('}</s>PLUGIN_BASE = "linode-cli obj"
0
{'name': 'Camera.save@cameratransform/camera.py', 'description': 'Saves the camera parameters to a json file.\n\nParameters\n----------\nfilename : str\n the filename where to store the parameters.', 'signature': 'def save(self, filename: str):'}</s>{'name': 'CylindricalProjection@cameratransform/projection.py', 'de...
1
{'name': 'removeUsers@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_cleanup_scenario.py', 'description': 'This function will remove all created user accounts from carbon (users in multiple tenants)\n:return: None', 'signature': 'def removeUsers():'}</s>{'name': 'createAPI@apim-traffic-tool/lib/traffic-tool...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>current_dir = current_file.parent.resolve()
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_DEF_INPUT_OPEN_OPTION = 4
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'WithParams@src/api/python/z3/z3.py',...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_118 = Badge("bone", series=2, number=18, symbol="🦴")
0
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to determine Versioneer config.', 'code': 'def get_config_from_root(root):...
1
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'render@pygeos/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_git_describe@pygeos/_version.py', 'description': "TAG[-DISTANCE-gHEX][-dirty].\n\nLike 'git describe --tags --dirty --always'.\n\nExceptions:\n...
1
{'name': 'Format.flow_style@strictyaml/ruamel/comments.py', 'description': 'if default (the flow_style) is None, the flow style tacked on to\nthe object explicitly will be taken. If that is None as well the\ndefault flow style rules the format down the line, or the type\nof the constituent values (simple -> flow, map/l...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Orderedranges@infoblox_client/objects.py', 'description': "Orderedranges: Ordered DHCP ranges object.\nCorresponds to WAPI object 'orderedranges'\n\nAn ordered DHCP ranges obj...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEVO_MQSUB = 6
0
{'name': 'train@gns/train.py', 'description': 'Train the model.\n\nArgs:\n rank: local rank\n world_size: total number of ranks\n device: torch device type', 'signature': 'def train(rank, flags, world_size, device):'}</s>{'name': 'get_data_loader_by_samples@gns/data_loader.py', 'description': 'Returns a data loader ...
1
{'name': 'seasons@resources/site-packages/seasonvar/parser.py', 'description': 'takes content of season page and yields\nall seasons for the same show.\n\nseason_page_html should be utf-8 encoded html content', 'signature': 'def seasons(season_page_html):'}</s>{'name': 'playlists@resources/site-packages/seasonvar/parse...
0
{'name': 'remove_aliases@graphene_tornado/apollo_tooling/transforms.py', 'description': "removeAliases gets rid of GraphQL aliases, a feature by which you can tell a\nserver to return a field's data under a different name from the field\nname. Maybe this is useful if somebody somewhere inserts random aliases into\nthei...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_LIKELY_MY_HEADER = 4
0
{'name': 'ConnectionPool.size@memsql/common/connection_pool.py', 'description': 'Returns the number of connections cached by the pool. ', 'signature': 'def size(self):'}</s>{'name': '_escape@memsql/common/database.py', 'description': 'DOCSTRING', 'code': 'def _escape(param):\n def _bytes_to_utf8(b):\n return ...
0
{'name': 'KubeSpawner._options_from_form@kubespawner/spawner.py', 'description': 'Called by jupyterhub when processing a request to spawn a server, where\nthe user either have submitted a POST request via a form or submitted a\nGET request with query parameters.\n\nThis only constructs the user_options dict,\nit should...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'validate_conversion_arguments@eth_utils/decorators.py', 'description': "Validates arguments for conversion functions.\n- Only a single argument is present\n- Kwarg must be 'primitive' 'hexstr' or 'text'\n- If it is 'hexstr' or 'text' that it is a text type", 'signature': 'def validate_conversion_arguments(to_...
0
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s...
0
{'name': 'get_validation_augmentation@v1/notebooks/scripts/train.py', 'description': 'Add paddings to make image shape divisible by 32', 'signature': 'def get_validation_augmentation():'}</s>{'name': 'Dataloder@v1/notebooks/scripts/train.py', 'description': 'Load data from dataset and form batches\n\nArgs:\n dataset...
0
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>btcpay_lnd_1 = "Succès!!"
0
{'name': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'ConcatDataset@fair...
1
{'name': 'run_concurrent_futures_threadpool@pythoncourse/coursecode/packagedemo/concurrencydemo.py', 'description': 'Loads URLs using concurrent.futures (abstraction on top of threading)\n\nReturns\n-------\nstr (list)', 'signature': 'def run_concurrent_futures_threadpool():'}</s>URLS = ['http://www.foxnews.com/', ...
1
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>MASK_COLOR_G = 2
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ...
0
{'name': 'evaluate@lab-11-X-mnist_cnn_low_memory.py', 'description': 'Run a minibatch accuracy op', 'signature': 'def evaluate(X_sample, y_sample, batch_size=512):'}</s>X = tf.placeholder(tf.float32, [None, 784])
1
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'AL_UnicodeNode@treebeard/tests/models.py', 'descr...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>g_styles = ["windows", "motif", "cde", "plastique", "cleanlooks"]
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'DeclareSort@src/api/python/z3/z3.py',...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CORREL_ID_ERROR = 3080
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_finite_domain@src/api/python/z3/z3.py',...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'need_maintenance_response@maintenance_mode/http.py', 'description': 'Tells if the given request needs a maintenance response or not.', 'signature': 'def need_maintenance_response(request):'}</s>{'name': '_need_maintenance_ignore_users@maintenance_mode/http.py', 'description': 'DOCSTRING', 'code': 'def _need_m...
1
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
0
{'name': 'conditional_log@elpis/engines/common/input/trs_to_json.py', 'description': 'Work around for UTF8 file name and the windows console.\n\n:param condition: condition to indicate whether text should be output to stderr\n:param text: text to output to stderr', 'signature': 'def conditional_log(condition: bool, tex...
0
{'name': 'PythonModuleSourceFileGenerator._GetPythonTypeObjectFunctionPrototype@yaldevtools/source_generators/python_module.py', 'description': 'Determines the Python type object function prototypes.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n type_name (str): type name.\n type_...
1
{'name': 'create_network@pygad/gann/gann.py', 'description': 'Creates a neural network as a linked list between the input, hidden, and output layers where the layer at index N (which is the last/output layer) references the layer at index N-1 (which is a hidden layer) using its previous_layer attribute. The input layer...
0
{'name': '_generate_steps@release/rollback/plan.py', 'description': 'Generates the sequence of operations for execution.\n\nA rollback consists of the following steps:\n1. Run schema compatibility test for the target release.\n2. For each service,\n a. If the target version does not use automatic scaling, start it.\n...
1
{'name': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>tdquot = "'''%s'''"
0
{'name': 'gameIsUnsupported@gameScanner.py', 'description': 'Check for if user selected path is not supported by our mod\nsystem.arc = Old MG version of Higurashi\nnscript.dat = Old Nscripter version of games\n\n:returns if unsupported, returns (True, identifier), giving the identifier that caused the unsupported detec...
0
{'name': 'hyp_softmax_k@scratch/learning_util.py', 'description': 'Hyperbolic softmax.\na_k is a Euclidean and p_k is a hyperbolic parameter.', 'signature': 'def hyp_softmax_k(a_k, p_k, x, c=1):'}</s>{'name': 'hyp_non_lin@scratch/learning_util.py', 'description': 'DOCSTRING', 'code': 'def hyp_non_lin(v, activation):\n ...
0
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>{'name': 'capture_write@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write the message to the capture pipe', 'code': 'def capture_write(...
0
{'name': 'install_ngrok@pyngrok/ngrok.py', 'description': 'Download, install, and initialize ``ngrok`` for the given config. If ``ngrok`` and its default\nconfig is already installed, calling this method will do nothing.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` bi...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'IPv4Address@infoblox_client/objects.py', 'description': "IPv4Address: IPAM IPv4Address object.\nCorresponds to WAPI object 'ipv4address'\n\nThis object is created only as part...
0
{'name': 'MHLHistory.load_from_path@ascmhl/history.py', 'description': 'finds all MHL files in the asc-mhl folder, returns the mhl_history instance with all mhl_hashlists', 'signature': 'def load_from_path(cls, root_path):'}</s>{'name': 'NewFilesFoundException@ascmhl/errors.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': '_pick_proper_endpoint@clarifai_grpc/channel/grpc_json_channel.py', 'description': 'Fills in the url template with the actual url params from the request body.\nPicks the most appropriate url depending on which parameters are present in the request body.\nArgs:\n resources: all available resource endpoints fo...
0
{'name': 'test_MultiBandTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBandTilerFactory.', 'signature': 'def test_MultiBandTilerFactory():'}</s>{'name': 'parse_asset_indexes@src/titiler/core/titiler/core/dependencies.py', 'description': 'parse asset indexes parameters.', 'code': 'def ...
0
{'name': 'update_setup@pipenv_setup/setup_updater.py', 'description': 'Clear install_requires and dependency_links argument and fill new ones. Format the code.\n\n:param dependency_arguments:\n:param filename:\n:param dev: update extras_require or not\n:raise ValueError: when setup.py is not recognized (malformed)', 's...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'CheckPrintf@scripts/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\...
0
{'name': 'DbusMonitor.make_service@dbusmonitor.py', 'description': 'Override this to use a different kind of service object. ', 'signature': 'def make_service(serviceId, serviceName, deviceInstance):'}</s>VE_INTERFACE = "com.victronenergy.BusItem"
0
{'name': 'PostgresNode.source_walsender@testgres/node.py', 'description': "Returns master's walsender feeding this replica.", 'signature': 'def source_walsender(self):'}</s>{'name': 'ProcessType@testgres/enums.py', 'description': 'Types of processes', 'base_classes': ['Enum'], 'methods': [{'name': 'ProcessType.from_pro...
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'BlockManager.add_block@friendship/models.py', 'description': "Create 'blocker' blocks 'blocked' relationship", 'signature': 'def add_block(self, blocker, blocked):'}</s>{'name': 'FollowingManager@friendship/models.py', 'description': 'Following manager', 'base_classes': ['models.Manager'], 'methods': [{'name'...
0
{'name': 'DirectiveValidator.not_exists@drheader/validators/directive_validator.py', 'description': 'See base class.', 'signature': 'def not_exists(self, config, header, **kwargs):'}</s>{'name': 'get_expected_values@drheader/validators/base.py', 'description': 'DOCSTRING', 'code': 'def get_expected_values(config, key, ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGACF_MONITOR_TYPE = 8016
0
{'name': 'GRRFlowTests.testDownloadFilesForFlow@tests/lib/collectors/grr_hosts.py', 'description': 'Test if results are downloaded to the correct directories.', 'signature': 'def testDownloadFilesForFlow(self, mock_Get):'}</s>{'name': 'RemoteFSPath@dftimewolf/lib/containers/containers.py', 'description': 'Remote Filesy...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'generate_script@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Generates build script', 'signature': 'def generate_script(dispatcher_type: utils.DispatcherType = utils.DispatcherType.DYNAMIC):'}</s>IPPCRYPTOROOT = "IPPCRYPTOROOT"
0
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra...
0
{'name': 'BertTokenizer.__init__@ZEN/tokenization.py', 'description': "Constructs a BertTokenizer.\n\nArgs:\n vocab_file: Path to a one-wordpiece-per-line vocabulary file\n do_lower_case: Whether to lower case the input\n Only has an effect when do_wordpiece_only=False\n do_basic_tokenize: Whether to...
1
{'name': '_genUniqueModuleName@Cheetah/Template.py', 'description': 'The calling code is responsible for concurrency locking.\n ', 'signature': 'def _genUniqueModuleName(baseModuleName):'}</s>{'name': 'hashList@Cheetah/Template.py', 'description': 'DOCSTRING', 'code': 'def hashList(v_list):\n hashedList = []\n ...
0
{'name': 'unyt_array.in_units@unyt/array.py', 'description': "Creates a copy of this array with the data converted to the\nsupplied units, and returns it.\n\nOptionally, an equivalence can be specified to convert to an\nequivalent quantity which is not in the same dimensions.\n\nParameters\n----------\nunits : Unit obj...
0
{'name': 'MeasurementPreset.addSegmentedLeafletMeasurements@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'Add leaflet measurements for all leaflets\n:param valveModel:\n:param planePosition: center of the valve, used for tilting the leaflet extraction surface normal\n:param planeNorm...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'MemberLicense@infoblox_client/objects.py', 'description': "MemberLicense: Mem...
0
{'name': 'MyModel.__init__@src/StyleTransfer/Style_Transfer.py', 'description': 'Args:\n\n con_layers: Layers to be used for Content loss\n sty_layers: Layers to be used for Style loss\n\n mean: Mean to normalize the input tensor\n stdv: Stdv to normalize the input tensor', 'signature': "def __init__(self, ...
1
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>BPF_MAP_TYPE_CPUMAP = 16
1
{'name': 'WorkingSet.resolve@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pkg_resources/__init__.py', 'description': 'List all distributions needed to (recursively) meet `requirements`\n\n`requirements` must be a sequence of ``Requirement`` objects. `env`,\nif supplied, should be an ``Environment`` instance...
0
{'name': 'GTR._exp_lt@treetime/gtr.py', 'description': 'Parameters\n----------\n\n t : float\n time to propagate\n\nReturns\n--------\n\n exp_lt : numpy.array\n Array of values exp(lambda(i) * t),\n where (i) - alphabet index (the eigenvalue number).', 'signature': 'def _exp_lt(self, t):'}</s>REL_TOL_PRUNE = 0...
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'code': 'def test_email_validation_with...
0
{'name': 'parse_stdout@mhctools/parsing.py', 'description': "Generic function for parsing any NetMHC* output, given expected indices\nof values of interest.\n\nParameters\n----------\nstdout : str\n\nprediction_method_name : str\n\nkey_index : int\n\noffset_index : int\n\npeptide_index : int\n\nallele_index : int\n\nsc...
0
{'name': 'LF_denies_list@trove/contrib/labelers/clinical/polarity.py', 'description': 'Patient denies X,Y,Z. ', 'signature': 'def LF_denies_list(span):'}</s>{'name': 'get_containing_span@trove/contrib/labelers/clinical/polarity.py', 'description': 'DOCSTRING', 'code': "def get_containing_span(span):\n # add end padd...
0
{'name': 'FilesystemConnection._get_containers@cloud_browser/cloud/fs.py', 'description': 'Return available containers.', 'signature': 'def _get_containers(self):'}</s>wrap_fs_cont_errors = FilesystemContainerWrapper()
0
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'managerTaskConfig@BlendNet/addon.py', 'description': 'DOCSTRING', 'code': 'def managerTaskConfig(task, conf):\n return ManagerClient(...
0
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str...
0
{'name': 'Pix2Pix.fit@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n model_name: Resume the training from saved checkpoint with file - "model_name"\n epoch_decay: Number of epochs after which learning rate starts decaying', 'signature': 'def fit(self, nb_epochs: int = 400, d_lr: float = 2e-4, g_lr: floa...
0
{'name': 'numsplit@serial/tools/list_ports_common.py', 'description': 'Convert string into a list of texts and numbers in order to support a\nnatural sorting.', 'signature': 'def numsplit(text):'}</s>{'name': 'ListPortInfo@serial/tools/list_ports_common.py', 'description': 'Info collection base class for serial ports',...
0
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'timetree@treetime/wrappers.py', 'description': 'this function implements the regular treetime time tree estimation', 'signature': 'def timetree(params):'}</s>{'name': 'median_interp@treetime/utils.py', 'description': 'Find the median of the function represented as an interpolation object.', 'code': 'def media...
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_FROM = "from"
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_path_with_tuple_dict_key@voluptuous/tests/tests.py', 'description': 'Not obvious case with dict having not strings, but tuples as keys', 'code': 'def...
0
{'name': 'GuiMain.updateMainLabelsConfiguration@guiMain.py', 'description': 'Updates labels with actual amount of items in global lists', 'signature': 'def updateMainLabelsConfiguration(self):'}</s>{'name': 'createHistogram@chartGanttCreator.py', 'description': 'Draws histogram with Gaussian function in aFrame', 'code'...
0
{'name': 'get_connection@examples/multi_threaded_inserts.py', 'description': 'Returns a new connection to the database. ', 'signature': 'def get_connection(db=DATABASE):'}</s>USER = "root"
1
{'name': 'VirtualManager._start_virt_install@scripts/launcher/lib/virtual_controller.py', 'description': 'Use virt-install to install to a disk image\n\n:param str install_log: The path to write the log from virt-install\n\nThis uses virt-install with a boot.iso and a kickstart to create a disk\nimage.', 'signature': '...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': '_populate_edge_centroids@uxarray/grid/coordinates.py', 'description': 'Finds the centroids using cartesian averaging of the edges based off the\nvertices. The centroid is defined as the average of the x, y, z\ncoordinates, normalized.\n\nParameters\n----------\nrepopulate : bool, optional\n Bool used to tu...
0
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logge...
0
{'name': 'read_out@mcu/crystal/crystal_io.py', 'description': 'Read prefix.out file', 'signature': 'def read_out(filename):'}</s>irred_atoms_MATCH = re.compile(r''' [\w\W]* ATOM [ ]* (?P<X>\S+) [ ]* (?P<Y>\S+) [ ]* (?P<Z>\S+) [\*]* (?P<content> [\w\W]* ) ''', re.VERBOSE)
1
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'fpGEQ@src/api/python/z3/z3.py', 'des...
0