text string | label int64 |
|---|---|
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_SIZE = CScriptOp(0x82) | 0 |
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ... | 0 |
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>KEY_KP_MULTIPLY = 332 | 0 |
{'name': 'parse@gitstats/gitstats.py', 'description': 'Analyse git log and sort to csv file.', 'signature': 'def parse(lines):'}</s>CSV_FILE_HEADER = ["Author", "Commit", "Insert", "Delete", "Loc"] | 0 |
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(a... | 0 |
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'predict_par@gns/train_multinode.py', 'description': 'Predict rollouts.\n\nArgs:\n simulator: Trained simulator if not will undergo training.', 'signature': 'def predict_par(rank):'}</s>{'name': 'load_npz_data@gns/data_loader.py', 'description': 'Load data stored in npz format.\n\nThe file format for Python 3... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_NO_RETAINED_MSG = 3077 | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_set_format_int_b@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_set_format_int_b()... | 0 |
{'name': 'fig_to_html@mpld3/_display.py', 'description': 'Output html representation of the figure\n\nParameters\n----------\nfig : matplotlib figure\n The figure to display\nd3_url : string (optional)\n The URL of the d3 library. If not specified, a standard web path\n will be used.\nmpld3_url : string (opti... | 0 |
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'set_OOB@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send OOB to device', 'code': 'def set_OOB(sniffer, payload):\n """S... | 0 |
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': 'get_supported_gates@tensorflow_quantum/python/util.py', 'description': 'A helper to get gates supported by TFQ.\n... | 0 |
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'get_atom@src/future/backports/email/_header_value_parser.py', 'description': 'atom = [CFWS] ... | 0 |
{'name': 'expected_aspls@tests/test_weighting.py', 'description': 'The weighting for adaptive smoothness penalized least squares smoothing (aspls).\n\nDoes not perform error checking since this is just used for simple weighting cases.\n\nParameters\n----------\ny : numpy.ndarray, shape (N,)\n The measured data.\nbas... | 0 |
{'name': 'memoize@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'Memoize fn: make it remember the computed value for any argument list.\nIf slot is specified, store result in that slot of first argument.\nIf slot is false, store results in a dictionary.', 'signature': 'def memoize(fn, slot=None):'}</... | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'Env.__init__@habitat/core/env.py', 'description': 'Constructor\n\n:param config: config for the environment. Should contain id for\n simulator and ``task_name`` which are passed into ``make_sim`` and\n ``make_task``.\n:param dataset: reference to dataset for task instance level\n information. Can be ... | 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': 'TimeEntrySet.all_from_reports@toggl/api/models.py', 'description': 'Method that implements fetching of all time entries through Report API.\nNo limitation on number of time entries.\n\n:param start: From when time entries should be fetched. Defaults to today - 6 days.\n:param stop: Until when time entries sho... | 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_MSG_DEQ_COUNT = 38 | 0 |
{'name': 'writeExportDict@ValveFileSystem/presets.py', 'description': 'returns a dictionary containing a bunch of common info to write when generating presets\nor other such export type data', 'signature': 'def writeExportDict(toolName=None, toolVersion=None, **kwargs):'}</s>kEXPORT_DICT_TOOL = "tool_name" | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCF_DIST_LISTS = 1 | 0 |
{'name': '_matched_kv_pairs@stix2matcher/test/v20/test_unicode_normalization.py', 'description': 'This returns an iterable through all the matched prop name/value pairs.', 'signature': 'def _matched_kv_pairs():'}</s>{'name': 'test_unicode_normalization_set_match@stix2matcher/test/v20/test_unicode_normalization.py', 'de... | 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': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_FOUND = "found" | 0 |
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'pool_create@wrappers/... | 0 |
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>{'name': 'file_decode@shingetsu/title.py', 'description': 'Decode filename.\n ', 'code': "def file_decode(query, type=None):\n ... | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'proc... | 0 |
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'url_or_none@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'diff_one@peewee_migrate/auto.py', 'description': 'Find difference between given peewee models.', 'signature': 'def diff_one(model1: TModelType, model2: TModelType, **kwargs) -> List[str]: # noqa: C901'}</s>{'name': 'dtf_to_params@peewee_migrate/auto.py', 'description': 'Get params from the given datetime fie... | 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': 'convert_pdb_to_mmcif@colabfold/batch.py', 'description': 'convert existing pdb files into mmcif with the required poly_seq and revision_date', 'signature': 'def convert_pdb_to_mmcif(pdb_file: Path):'}</s>{'name': 'validate_and_fix_mmcif@colabfold/batch.py', 'description': 'validate presence of _entity_poly_se... | 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': 'RunAndReturnOutput@Engine/lib/assimp/contrib/googletest/googletest/test/googletest-shuffle-test.py', 'description': 'Runs the test program and returns its output.', 'signature': 'def RunAndReturnOutput(extra_env, args):'}</s>{'name': 'GetFlag@Engine/lib/assimp/contrib/googletest/googletest/test/gtest_test_uti... | 0 |
{'name': 'Downsampling.forward@models/blocks.py', 'description': ':param pos: (B, N, 3)\n:param x: (B, N, d)\n:return (B, rN, d)', 'signature': 'def forward(self, pos, x):'}</s>{'name': 'Downsampling@models/blocks.py', 'description': 'DOCSTRING', 'base_classes': ['Module'], 'methods': [{'name': 'Downsampling.... | 1 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'get_filenames@tools/lldb/packages/Python/lldbsuite/test/lldbutil.p... | 0 |
{'name': 'MaskRCNN.get_anchors@Mask_RCNN/mrcnn/model.py', 'description': 'Returns anchor pyramid for the given image size.', 'signature': 'def get_anchors(self, image_shape):'}</s>{'name': 'denorm_boxes_graph@Mask_RCNN/mrcnn/model.py', 'description': "Converts boxes from normalized coordinates to pixel coordinates.\nbo... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'get_gaia_DR2_vizier_... | 0 |
{'name': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ... | 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': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best... | 0 |
{'name': 'setup_handlers@jupyter-extension/jupyterlab_pachyderm/handlers.py', 'description': 'Sets up the Pachyderm client and the HTTP request handler.\n\nConfig for the Pachyderm client will first be attempted by reading\nthe local config file. This falls back to the PACHD_ADDRESS and\nDEX_TOKEN env vars, and finally... | 1 |
{'name': 'test_create_new_symbol@unyt/tests/test_units.py', 'description': 'Create unit with unknown symbol.', 'signature': 'def test_create_new_symbol():'}</s>{'name': 'test_pickle@unyt/tests/test_units.py', 'description': 'DOCSTRING', 'code': 'def test_pickle():\n cm = Unit("cm")\n assert cm == pickle.loads(pic... | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>github_top_ignored_repos = ('https://github.com/Hopson97/MineCraft-One-Week-Challenge.git', 'h... | 0 |
{'name': 'SIOCaptchaInstrument._create_task@src/python3_anticaptcha/core/sio_captcha_instrument.py', 'description': 'Function send SYNC request to service and wait for result', 'signature': 'def _create_task(self, url_postfix: str = CREATE_TASK_POSTFIX) -> CreateTaskResponseSer:'}</s>{'name': 'SaveFormatsEnm@src/python... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'Instruction@gef.py', 'description': 'GEF representation of a CPU instruction.', 'base_classes': [], 'methods': [{'name': 'Instruction.__init__@gef.py', ... | 0 |
{'name': 'TileMatrixSet.custom@morecantile/models.py', 'description': 'Construct a custom TileMatrixSet.\n\nAttributes\n----------\ncrs: pyproj.CRS\n Tile Matrix Set coordinate reference system\nextent: list\n Bounding box of the Tile Matrix Set, (left, bottom, right, top).\ntile_width: int\n Width of each til... | 0 |
{'name': 'test_main_no_glyphs_in_common@tests/fonts2svg_test.py', 'description': 'The fonts have no glyphs in common; the default is intersection of names,\nso no SVGs should be saved.', 'signature': 'def test_main_no_glyphs_in_common(fixtures_dir, capsys, tmp_path):'}</s>{'name': 'test_adjust_to_viewbox_default@tests/... | 0 |
{'name': 'test_enumerate_integral_points@tests/polytope_test.py', 'description': 'Test the computation of integral points.', 'signature': 'def test_enumerate_integral_points():'}</s>{'name': 'projection_fm@polytope/polytope.py', 'description': 'Help function implementing Fourier Motzkin projection.\n\nShould work well ... | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>test_object_for_comment_strings = {
"hello": "Wor#d", "Bye": "\"M#rk\"", "yes\\\"": 5,
"quote": "\"th#t's\" what she said"... | 0 |
{'name': 'Node.bye@shingetsu/node.py', 'description': 'Unconnect.', 'signature': 'def bye(self):'}</s>rss = "1" | 0 |
{'name': 'synchronous@plex_mpv_shim/utils.py', 'description': 'A decorator to place an instance based lock around a method.\nFrom: http://code.activestate.com/recipes/577105-synchronization-decorator-for-class-methods/', 'signature': 'def synchronous(tlockname):'}</s>plex_eph_tokens = {} | 0 |
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac... | 0 |
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>log_fp = sys.stderr | 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... | 1 |
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_dict_refs@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Return key and value objects ... | 0 |
{'name': 'NoisyPQC.symbol_values@tensorflow_quantum/python/layers/high_level/noisy_pqc.py', 'description': 'Returns a Python `dict` containing symbol name, value pairs.\n\nReturns:\n Python `dict` with `str` keys and `float` values representing\n the current symbol values.', 'signature': 'def symbol_values(se... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>MY_RELAY = 1 | 0 |
{'name': 'calculate_activation_statistics_from_files@utils/fid_score.py', 'description': 'Calculation of the statistics used by the FID.\nParams:\n-- files : list of paths to image files. Images need to have same dimensions for all files.\n-- sess : current session\n-- batch_size : the images numpy array i... | 0 |
{'name': 'TrainingJob.start@loudml/server.py', 'description': 'Submit training job to worker pool', 'signature': 'def start(self, config):'}</s>{'name': 'parse_constraint@loudml/misc.py', 'description': 'DOCSTRING', 'code': 'def parse_constraint(constraint):\n try:\n feature, _type, threshold = constraint.spl... | 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': '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': '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': 'readFdat@fwtool/sony/fdat.py', 'description': 'Reads a decrypted FDAT file and returns its contents', 'signature': 'def readFdat(file):'}</s>{'name': 'dump64le@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def dump64le(value):\n return struct.pack('<Q', value)"} | 0 |
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'list_count_float_not_int@src/python_scripts/afnipy/afni_base.py', 'description': 'see if list of numbers can b... | 0 |
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)... | 0 |
{'name': 'document_plugins_tokens_list@docs/source/conf.py', 'description': 'Generate the plugins list documentation page from application extraction.', 'signature': 'def document_plugins_tokens_list(list_path: Path, output_path: Path) -> None:'}</s>AUTOMATED_SCREENSHOTS_FOLDER = "galata/test/documentation" | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'getsource_if_available@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': '... | 0 |
{'name': 'provider.__init__@dataset/union_person.py', 'description': 'init\nArgs:\n batch_size: the size of a batch\n for_what: indicate train or test, must be "train" or "test"\n whether_aug: whether to augument the img', 'signature': 'def __init__(self, for_what, batch_size=1, whether_aug=False):'}</s>{'name... | 0 |
{'name': 'MeasurementPreset.getCurveLengthBetweenPoints@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'Create a measurement of curve length between two points\n:param valveModel1: valve model to allow to get point by label and get valve coordinate system\n:param curve: curve the dista... | 0 |
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': '_dbscan@picasso/clusterer.py', 'de... | 0 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'test_truncation@src/python_scripts/afnipy/afni_util.py', 'description': 's... | 0 |
{'name': 'AutoUnit.on_eval_step_end@torchtnt/framework/auto_unit.py', 'description': 'This will be called at the end of every ``eval_step`` before returning. The user can implement this method with code to update and log their metrics,\nor do anything else.\n\nArgs:\n state: a State object which is passed from the `... | 1 |
{'name': 'Pix2PixModel.backward_D@models/pix2pix_model.py', 'description': 'Calculate GAN loss for the discriminator', 'signature': 'def backward_D(self):'}</s>{'name': 'atoi@utils/util.py', 'description': 'DOCSTRING', 'code': 'def atoi(text):\n return int(text) if text.isdigit() else text'} | 0 |
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>EVENT_ARM = "arm" | 0 |
{'name': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>{'name': 'FusionMap@agfusion/parsers.py', 'description': 'FusionMap parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'FusionMap.__init__@agfusion/parsers.py', 'description': 'DO... | 0 |
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 0 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 0 |
{'name': 'main@examples/fastspeech/train_fastspeech.py', 'description': 'Run training process.', 'signature': 'def main():'}</s>physical_devices = tf.config.list_physical_devices("GPU") | 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': '_execProviderFunc@BlendNet/providers/__init__.py', 'description': 'DOCSTRING', 'code': 'def _execProviderFunc(func, default = {}, *args,... | 0 |
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>{'name': 'align_id_space... | 0 |
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'get_hal_tree@maf/impl/naiveLiftUp.py', 'description': 'Get the species tree of the given hal file.',... | 0 |
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'common_dir@src/python_scripts/afnipy/afni_util.py', 'description': 'return the directory name that is common t... | 0 |
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'PropertyIds@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'methods': []} | 1 |
{'name': 'Metric.compute_util_metric_on_sql@metrics.py', 'description': 'Computes a util metric with caching and filtering handled correctly.', 'signature': 'def compute_util_metric_on_sql('}</s>{'name': 'melt@utils.py', 'description': "Stacks the outermost comlumn level to the outermost index level.\n\nSimilar to pd.s... | 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': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'pah33@grizli/utils.p... | 0 |
{'name': 'scnym_api@scnym/api.py', 'description': 'scNym: Semi-supervised adversarial neural networks for\nsingle cell classification [Kimmel2020]_.\n\nscNym is a cell identity classifier that transfers annotations from one\nsingle cell experiment to another. The model is implemented as a neural\nnetwork that employs M... | 0 |
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'get_xpp@tf_verify/deepzono_nodes.py', 'description': 'Arguments\n---------\nmatrix : numpy.ndarray\n must be a 2D array\n\... | 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': 'Avanza.__init__@avanza/avanza.py', 'description': "Args:\n\n credentials: Login credentials. Can be multiple variations\n Either an instance of TokenCredentials or of SecretCredentials\n Or a dictionary as the following:\n Using TOTP secret:\n {\n 'username': ... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PF_GET_CLR_CNTR = 1 | 0 |
{'name': 'Ava._images_and_boxes_preprocessing_cv2@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip with opencv as backend.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the cu... | 0 |
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se... | 0 |
{'name': 'QueryAndGroup_score.forward@pointnet2/utils/pointnet2_utils.py', 'description': 'Parameters\n----------\nxyz : torch.Tensor\n xyz coordinates of the features (B, N, 3)\nnew_xyz : torch.Tensor\n centriods (B, npoint, 3)\nfeatures : torch.Tensor\n Descriptors of the features (B, C, N)\n\nReturns\n-----... | 0 |
{'name': 'Source.best_link@feeds/models.py', 'description': "**str** The best user facing link to this feed.\n\nWill be the **site_url** if it's present, otherwise **feed_url**", 'signature': 'def best_link(self) -> str:'}</s>{'name': 'delete_subscriber@feeds/models.py', 'description': 'DOCSTRING', 'code': 'def delete_... | 0 |
{'name': 'Tag.decode_contents@bs4/element.py', 'description': "Renders the contents of this tag as a Unicode string.\n\n:param eventual_encoding: The tag is destined to be\n encoded into this encoding. This method is _not_\n responsible for performing that encoding. This information\n is passed in so that it can ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.