text
string
label
int64
{'name': 'RegularizerList.__init__@regularization.py', 'description': 'each item must of of format (RegClass, **kwargs) or instance of Regularizer', 'signature': 'def __init__(self, model, regularization_list):'}</s>{'name': 'BoundedWeightNorm@regularization.py', 'description': 'DOCSTRING', 'base_classes': ['Regularize...
0
{'name': 'auth@twitter_to_sqlite/cli.py', 'description': 'Save authentication credentials to a JSON file', 'signature': 'def auth(auth):'}</s>{'name': 'ad_online_conversions_attributed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def ad_online_conversions_attributed(item):\n return item["ad"][...
0
{'name': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>{'name': 'UserCache@py/bitbox02/bitbox02/util.py', 'description': 'Data structure to hold keys', 'base_classes': [], 'met...
0
{'name': 'PouiInternal.log_result@tir/technologies/poui_internal.py', 'description': '[Internal]\n\nLogs the result of comparison between user value and captured value.\n\n:param field: The field whose values would be compared\n:type field: str\n:param user_value: The value the user expects\n:type user_value: str\n:par...
0
{'name': 'weighted_impurity@chapter4/decision_tree_implementation.py', 'description': "Calculate weighted impurity of children after a split\n@param groups: list of children, and a child consists a list of class labels\n@param criterion: metric to measure the quality of a split, 'gini' for Gini Impurity or 'entropy' fo...
0
{'name': 'TestModel.test_simple@tests/test_models.py', 'description': "Tests if Field behaves just like Django's ImageField.", 'signature': 'def test_simple(self, db):'}</s>{'name': 'TestStdImage@tests/test_models.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'TestStdImage.setup@tests/test_m...
0
{'name': 'to_lonlat@tilemapbase/mapping.py', 'description': 'Inverse project from "web mercator" coords back to longitude, latitude.\n\n:param x: The x coordinate, between 0 and 1.\n:param y: The y coordinate, between 0 and 1.\n\n:return: A pair `(longitude, latitude)` in degrees.', 'signature': 'def to_lonlat(x, y):'}...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'DocumentedDict.info_str@oggm/cfg.py', 'description': 'Info string for the documentation.', 'signature': 'def info_str(self, key):'}</s>{'name': 'pack_config@oggm/cfg.py', 'description': 'Pack the entire configuration in one pickleable dict.', 'code': 'def pack_config():\n """Pack the entire configuration i...
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': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>{'name': 'if_data@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
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>MQIACF_USAGE_EMPTY_BUFFERS = 1338
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'get_insns@riscvmodel/isa.py', 'description': 'Get all Instructions. This is based on all known subclasses of `cls`. If non\nis given, all Instructions are returned. Only such instructions are returned\nthat can be generated, i.e., that have a mnemonic, opcode, etc. So other\nclasses in the hierarchy are not m...
1
{'name': 'accuracy@training/train_imagenet_nv.py', 'description': 'Computes the accuracy@k for the specified values of k', 'signature': 'def accuracy(output, target, topk=(1,)):'}</s>{'name': 'to_python_float@training/train_imagenet_nv.py', 'description': 'DOCSTRING', 'code': "def to_python_float(t):\n if isinstance...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCCSI_INHERIT = -2
0
{'name': 'TokenizerBase.tokenize@bert4keras/tokenizers.py', 'description': '分词函数\n ', 'signature': 'def tokenize(self, text, maxlen=None):'}</s>is_py2 = six.PY2
0
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': 'get_app_version@jupyterlab/commands.py', 'description': 'Get the application version.', 'code': 'def get_app_version(app_options=None)...
0
{'name': '_estimate_noise_variance@FDApy/misc/utils.py', 'description': 'Estimate the variance of the noise.\n\nThis function estimates the variance of the noise non-parametrically using\nthe methodology developed in [1]_. The estimator is based on the difference\nof observed values.\n\nParameters\n----------\nx\n V...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCLT_TRANSACTION = 2
0
{'name': '_maybe_update_config_with_key_value@object_detection/utils/config_util.py', 'description': "Checks key type and updates `configs` with the key value pair accordingly.\n\nArgs:\n configs: Dictionary of configuration objects. See outputs from\n get_configs_from_pipeline_file() or get_configs_from_multiple_f...
1
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'GetSelectionFromList@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def GetSelection...
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
0
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'merge...
0
{'name': 'get_collapsed_properties_type_mappings@swagger_spec_validator/validator20.py', 'description': 'Get all the properties for a swagger model (definition).\n:param definition: dictionary representation of the definition\n:type definition: dict\n:param deref: callable that dereferences $refs\n:return: (required pr...
0
{'name': 'check_target_label@self_paced_ensemble/utils/_validation_param.py', 'description': 'check parameter `target_label`.', 'signature': 'def check_target_label(y, target_label, sampling_type):'}</s>SamplingKindError = NotImplementedError( f"'sampling_type' must be one of {SAMPLING_KIND}." )
0
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(...
0
{'name': 'validate_file_md5sum@src/gdc_client/parcel/utils.py', 'description': 'Function to validate md5sum for given file if prerequisite checks pass\n\nArgs:\n stream: initialized DownloadStream object\n file_path: file to validate\nRaises:\n MD5ValidationError: if correct DownloadStream flags are not set or...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_CPL_LOCKED_DATA = (FMT_3DW_DATA, 0x0B)
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFR_OP_PASS = 2
0
{'name': 'parsetowavedrom@scripts/python-skywater-pdk/skywater_pdk/cells/generate/vcd2wavedrom.py', 'description': 'Reads and simplifies VCD waveform\n Generates wavedrom notation.\n\nArgs:\n file - path to a VCD file [pathlib.Path]', 'signature': 'def parsetowavedrom (file, savetofile = False, reduce_clock = Fal...
0
{'name': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each represe...
0
{'name': 'add_underscore_redirects@scripts/ensure_typedoc_links.py', 'description': 'Create ``pkg_name.rest.html`` redirects to ``pkg-name.rest.html``\n\nTypeDoc 0.27.0 uses less aggressive normalization:\n- see https://github.com/TypeStrong/typedoc/issues/2714\n\nAdded in 4.4.0a1', 'signature': 'def add_underscore_re...
0
{'name': 'generate_string_HP@random_search.py', 'description': 'Chooses from one of the choices in `choices`.\n ', 'signature': 'def generate_string_HP(choices):'}</s>INT_POWER_EXP = ["hidden_dims"]
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_DSG_NAME = 3108
0
{'name': 'TestCase.setUp@os_brick/tests/base.py', 'description': 'Run before each test method to initialize test environment.', 'signature': 'def setUp(self):'}</s>NSID = "ns_id"
0
{'name': 'ModelSerializer.build_primary_key_field@rest_witchcraft/serializers.py', 'description': 'Builds a field for the primary key of the model.', 'signature': 'def build_primary_key_field(self, field_name, column_info):'}</s>{'name': 'BaseSerializer@rest_witchcraft/serializers.py', 'description': 'DOCSTRING', 'base...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>__ = RaceContext.language.__
0
{'name': 'LightOSConnector.disconnect_volume@os_brick/initiator/connectors/lightos.py', 'description': 'Disconnect a volume from the local host.\n\nThe connection_properties are the same as from connect_volume.\nThe device_info is returned from connect_volume.\n:param connection_properties: The dictionary that describe...
0
{'name': 'count_velocity@kb_python/count.py', 'description': 'Generates RNA velocity matrices (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcripts-to-...
1
{'name': '_AppHandler._populate_staging@jupyterlab/commands.py', 'description': 'Set up the assets in the staging directory.', 'signature': 'def _populate_staging(self, name=None, version=None, static_url=None, clean=False): # noqa'}</s>{'name': '_test_overlap@jupyterlab/commands.py', 'description': 'Test whether two ...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'on_calc_pilots@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_calc_pilots(data):\n heat_id = data['heat']\n RaceContext.heatautomator.calc_heat(h...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'prepare_prior@bambi/model_components.py', 'description': 'Helper function to correctly set default priors and auto scaling\n\nParameters\n----------\nprior : Prior or None\n The prior.\nkind : string\n Accepted values are: `"intercept"`, `"common"`, or `"group_specific"`.\nauto_scale : bool\n Whether...
1
{'name': 'check_pypi@carml/cli.py', 'description': 'Check a PyPI package hash across multiple circuits.', 'signature': 'def check_pypi(cfg, package, revision):'}</s>{'name': 'readme@carml/cli.py', 'description': 'Show the README.rst', 'code': 'def readme(cfg):\n """\n Show the README.rst\n """\n _no_json(cf...
0
{'name': 'Zeroconf.registerService@stino/pyarduino/base/zeroconf.py', 'description': 'Registers service information to the network with a default TTL\nof 60 seconds. Zeroconf will then respond to requests for\ninformation for that service. The name of the service may be\nchanged if needed to make it unique on the net...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>{'name': 'cs_support@capstone/bindings/python/capstone/__init__.py', 'description': 'DOCSTRING', 'code': 'def cs_support...
0
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>_DEFAULT_MAX_FRACTION_LARGEST_GEO = 1.0
0
{'name': 'test_kitti_3d_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': "def test_kitti_3d_kalman_boxes(dataset_test, net, rpn_conf, bbox_measure_val, p2s, p2_invs, scales, results_path, test_path, dataset_type='validation', fast=False, report_stats=Fals...
0
{'name': 'TQDMProgressBarTest.test_progress_bar_mid_progress@tests/framework/callbacks/test_tqdm_progress_bar.py', 'description': 'Test TQDMProgressBar callback when progress already has occurred (can occur when loading checkpoint)', 'signature': 'def test_progress_bar_mid_progress(self) -> None:'}</s>{'name': 'State@t...
1
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_no_pool_connection_required_on_bad_embedding@test/io/test_io.py', 'descript...
0
{'name': 'FuseGTest@swap-ssdb-1.9.2/tests/googletest/googletest/scripts/fuse_gtest_files.py', 'description': 'Fuses gtest.h and gtest-all.cc.', 'signature': 'def FuseGTest(gtest_root, output_dir):'}</s>GTEST_H_SEED = "include/gtest/gtest.h"
0
{'name': 'Service.patch@sandman2/service.py', 'description': "Return an HTTP response object resulting from an HTTP PATCH call.\n\n:returns: ``HTTP 200`` if the resource already exists\n:returns: ``HTTP 400`` if the request is malformed\n:returns: ``HTTP 404`` if the resource is not found\n:param resource_id: The value...
0
{'name': 'SelfCalibrationReconstructor.reconstruct@src/mri/reconstructors/self_calibrating.py', 'description': "Perform the self-calibrating reconstruction.\n\nParameters\n----------\nkspace_data: numpy.ndarray\n the acquired value in the Fourier domain.\n this is y in above equation.\noptimization_alg: str (opti...
1
{'name': 'init_exporter@nbinteract/cli.py', 'description': 'Returns an initialized exporter.', 'signature': 'def init_exporter(extract_images, execute, **exporter_config):'}</s>{'name': 'convert@nbinteract/cli.py', 'description': 'Converts notebook into an HTML file, outputting notebooks into\noutput_folder if set and ...
0
{'name': 'make_game@reversibility/pycolab/pycolab/examples/better_scrolly_maze.py', 'description': 'Builds and returns a Better Scrolly Maze game for the selected level.', 'signature': 'def make_game(level):'}</s>{'name': 'PatrollerSprite@reversibility/pycolab/pycolab/examples/better_scrolly_maze.py', 'description': 'W...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_OBJECT_LIMIT_EXCEEDED = 3209
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>COMMAND_ARM_AWAY = "arm_away"
0
{'name': 'TaxationTests.test_cart_unchanged@tests/test_shop.py', 'description': 'CartManager.from_request() saves a DB call by assuming Cart has only\ntwo fields, ``id`` and ``last_updated``. If this test fails, Cart has\nchanged, so we need to review that code and make sure it still works.\n\nSee the comment before th...
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>{'name': 'removeLogHandler@tools/ble_sniffer/extcap/SnifferAPI/Logger.py', 'description': 'DOCSTRING', 'code': 'def removeLogHandler(logHandle...
0
{'name': 'get_minibatch@api/lib/roi_data_layer/minibatch.py', 'description': 'Given a roidb, construct a minibatch sampled from it.', 'signature': 'def get_minibatch(roidb, num_classes):'}</s>{'name': '_vis_minibatch@api/lib/roi_data_layer/minibatch.py', 'description': 'Visualize a mini-batch for debugging.', 'code': '...
0
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>{'name': 'HTTPCookieProcessor@src/future/backports/urllib/request.py', 'description': 'DOCSTRING', 'base_classes': ['BaseHandler'], 'methods': [{'name': 'HTTPCookieProces...
0
{'name': 'Basis.__init__@FDApy/representation/basis.py', 'description': 'Initialize Basis object.', 'signature': 'def __init__('}</s>{'name': '_basis_legendre@FDApy/misc/basis.py', 'description': 'Define Legendre basis of function.\n\nBuild a basis of :math:`K` functions using Legendre polynomials on the\ninterval defi...
0
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: T...
1
{'name': 'browser@cloud_browser/views.py', 'description': 'View files in a file path.\n\n:param request: The request.\n:param path: Path to resource, including container as first part of path.\n:param template: Template to render.', 'signature': 'def browser(request, path="", template="cloud_browser/browser.html"):'}</...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>{'name': 'read_geojson@meza/io.py', 'description': "Reads a geojson file\n\nArgs:\n filepath (str): The geojson file path or file like object.\n key (...
0
{'name': 'make_query@gaia_tools/query/make_gaia_query.py', 'description': 'Makes a whole Gaia query\n\nINPUTS\n------\nWHERE: str, None (default None)\n ADQL `WHERE\' argument\nORDERBY: str (or None)\n ADQL `ORDER BY\' argument\nFROM: str, None (default None)\n ADQL `FFROM\' argument\nrandom_index: int, None...
0
{'name': '_sc_weights_trad@src/SparseSC/fit_fast.py', 'description': 'Traditional matrix solving. Requires making NxN0 matrices.\n ', 'signature': 'def _sc_weights_trad(M, M_c, V, N, N0, custom_donor_pool, best_w_pen, verbose=0):'}</s>{'name': 'log_if_necessary@src/SparseSC/utils/print_progress.py', 'description': '...
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': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>javaStyleComment = cppStyleComment
0
{'name': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ...
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': 'FloatSingle@src/api/python/z3/z3.py',...
0
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio &...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQACTP_NEW = 0
0
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.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 in...
0
{'name': 'ensure_rng@miceforest/utils.py', 'description': 'Creates a random number generator based on an optional seed. This can be\nan integer or another random state for a seeded rng, or None for an\nunseeded rng.', 'signature': 'def ensure_rng(random_state) -> RandomState:'}</s>{'name': 'hash_numpy_int_array@micefo...
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>_user_prop_pop = Z3_pop_eh(user_prop_pop)
0
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'do_latex_escape@django_tex/filters.py', 'description': 'Replace all LaTeX characters that could cause the latex compiler to fail\nand at the same time try to display the character as intended from the user.\n\nsee also https://tex.stackexchange.com/questions/34580/escape-character-in-latex', 'signature': 'def...
0
{'name': 'RigidTransform.apply@autolab_core/rigid_transformations.py', 'description': "Applies the rigid transformation to a set of 3D objects.\n\nParameters\n----------\npoints : :obj:`BagOfPoints`\n A set of objects to transform. Could be any subclass\n of BagOfPoints.\n\nReturns\n-------\n:obj:`BagOfPoints`\n ...
0
{'name': 'Constraint.__repr__@linopy/constraints.py', 'description': 'Print the constraint arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'to_dataframe@linopy/common.py', 'description': 'Convert an xarray Dataset to a pandas DataFrame.\n\nThis is an memory efficient alternative implementation to the b...
0
{'name': 'count_velocity_smartseq3@kb_python/count.py', 'description': 'Generates count matrices for Smartseq3 (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n out_dir: Path to output directory\n fastqs: List of FASTQ file paths\n whitelist_path...
1
{'name': 'make_river_map@src/Utility/Grid_Scripts/Compound_flooding/RiverMapper/RiverMapper/make_river_map.py', 'description': '[Core routine for making river maps]\n\ntif_fnames: a list of TIF file names. These TIFs should cover the area of interest and be arranged by priority (higher priority ones in front)\n\nthalwe...
0
{'name': 'serialise_key@amulet_map_editor/api/wx/util/key_config.py', 'description': 'Get the serialised version of the key that was pressed/released.', 'signature': 'def serialise_key(evt: Union[wx.KeyEvent, wx.MouseEvent]) -> Optional[KeyType]:'}</s>PageUp = "PAGE_UP"
0
{'name': 'test_multiclass_classification_logloss@tests/system/test_gamaclassifier.py', 'description': 'Multiclass classification, log loss (probabilities), numpy data.', 'signature': 'def test_multiclass_classification_logloss():'}</s>{'name': 'test_binary_classification_accuracy_asha@tests/system/test_gamaclassifier.p...
0
{'name': 'get_versions@src/nccutil/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'register_vcs_handler@src/nccutil/_version.py', 'description': 'Decorator to mark a method as the handler for a particular VCS.', 'code': 'def ...
0
{'name': 'manage_auth_already_associated@django_unifi_portal/pipeline.py', 'description': 'OVERRIDED: It will logout the current user\ninstead of raise an exception\n\nFix to resolve AuthAlreadyAssociated Exception in Python Social Auth:\n http://stackoverflow.com/questions/13018147/authalreadyassociated-exception-in-d...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': '_prepare_request_headers@aiosonic/client.py', 'description': 'Prepare get data.', 'signature': 'def _prepare_request_headers('}</s>RANDOM_RANGE = (10**8, 10**9)
0
{'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>RequestBindDat = DvzRequestBindDat
0
{'name': 'DescriptorBase.GetOptions@python/google/protobuf/descriptor.py', 'description': 'Retrieves descriptor options.\n\nReturns:\n The options set on this descriptor.', 'signature': 'def GetOptions(self):'}</s>_FEATURESET_ENUM_TYPE_CLOSED = 2
0
{'name': 'command_syntax@iredis/utils.py', 'description': 'Get command syntax based on redis-doc/commands.json\n\n:param command: Command name in uppercase\n:param command_info: dict loaded from commands.json, only for\n this command.', 'signature': 'def command_syntax(command, command_info):'}</s>{'name': 'timer@ir...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_DEF_XMIT_Q_USAGE_ERROR = 2199
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>TIMELINE_ADJUSTMENT = "adjustment"
0