text string | label int64 |
|---|---|
{'name': 'MPETreasurerCommand._get_stub_and_request_classes@snet/cli/commands/mpe_treasurer.py', 'description': 'import protobuf and return stub and request class ', 'signature': 'def _get_stub_and_request_classes(self, service_name):'}</s>{'name': 'int4bytes_big@snet/cli/utils/utils.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': '_SetFilters@tools/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese f... | 0 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 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>{'name': 'wasm_foreign_as_ref_const@language-bindings/python/src/wamr/wasmcapi... | 0 |
{'name': 'all_gather@camera2car/auto_calib/util/misc.py', 'description': 'Run all_gather on arbitrary picklable data (not necessarily tensors)\nArgs:\n data: any picklable object\nReturns:\n list[data]: list of data gathered from each rank', 'signature': 'def all_gather(data):'}</s>{'name': 'nested_tensor_from_te... | 0 |
{'name': 'predict_query@gp_query.py', 'description': 'Performs a single query starting at ?SOURCE returning all ?TARGETs.', 'signature': 'def predict_query(sparql, timeout, graph_pattern, source,'}</s>{'name': '_QueryStats@gp_query.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': '_Quer... | 0 |
{'name': 'create_for_folder_subcommand@ascmhl/commands.py', 'description': 'Creates a new generation with all files in a folder hierarchy.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nAll files are hashed and will be compared to previous records in the `asc-mhl` folder if they exists.\nThe command find... | 0 |
{'name': 'run@saltlint/cli.py', 'description': 'Run the linter and return the exit code.', 'signature': 'def run(args=None):'}</s>default_rulesdir = os.path.join(os.path.dirname(saltlint.utils.__file__), 'rules') | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PF_NOSCRUB = 3 | 0 |
{'name': 'PythonRecipe.install_python_package@kivy_ios/toolchain.py', 'description': 'Automate the installation of a Python package into the target\nsite-packages.\n\nIt will works with the first platforms_to_build,\nand the name of the recipe.', 'signature': 'def install_python_package(self, name=None, env=None, is_di... | 0 |
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ... | 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': 'remove_junk@kivy_ios/toolchain.py', 'description': 'Remove unused build artifacts. ', 'signature': 'def remove_junk(d):'}</s>{'name': 'CythonRecipe@kivy_ios/toolchain.py', 'description': 'DOCSTRING', 'base_classes': ['PythonRecipe'], 'methods': [{'name': 'CythonRecipe.cythonize_file@kivy_ios/toolchain.py', 'd... | 0 |
{'name': 'modify_descendants_for_jackknife_fast@operations.py', 'description': 'Gets the columns for leaf Metrics and modify them for fast Jackknife SQL.\n\nSee the doc of get_jackknife_data_fast() first. Here we\n1. collects the LOO columns for all Sum and Count.\n2. Modify them in-place so when we generate SQL later,... | 0 |
{'name': 'Dish.death@Project/SampleProjects/biolab_project/biolab/dish.py', 'description': 'Remove dying bacteria.', 'signature': 'def death(self):'}</s>{'name': 'Bacteria@Project/SampleProjects/biolab_project/biolab/bacteria.py', 'description': 'Bacteria which die and multiply with fixed probabilities.', 'base_classes... | 0 |
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s... | 0 |
{'name': 'html_builder_write_doc@src/ablog/blog.py', 'description': 'Part of :meth:`sphinx.builders.html.StandaloneHTMLBuilder.write_doc` method\nused to convert *doctree* to HTML.\n\nExtra argument `img_url` enables conversion of `<img>` source paths to\nfully qualified URLs based on `blog_baseurl`.', 'signature': 'de... | 0 |
{'name': 'ListingManager._sort_tags@src/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Sort tags.\n\nArguments:\n tags: The tags.\n\nReturns:\n The sorted tags.', 'signature': 'def _sort_tags('}</s>{'name': 'TagsConfig@material/plugins/tags/config.py', 'description': 'DOCSTRING', 'base_class... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_CMD_SERVER_STATUS = 1233 | 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': 'Launcher.__init__@pyppeteer/launcher.py', 'description': 'Make new launcher.', 'signature': 'def __init__(self, options: Dict[str, Any] = None, # noqa: C901'}</s>{'name': 'merge_dict@pyppeteer/util.py', 'description': 'Merge two dictionaries into new one.', 'code': 'def merge_dict(dict1: Optional[Dict], dict... | 1 |
{'name': 'insert_bn@models/vgg.py', 'description': 'Inserts bn layer after each conv.\n\nParameters\n---\nnames : list\n The list of layer names.', 'signature': 'def insert_bn(names: list):'}</s>NAMES = {
'vgg11': [
'conv1_1', 'relu1_1', 'pool1',
'conv2_1', 'relu2_1', 'pool2',
'conv3_1', ... | 0 |
{'name': 'entry@FastProject/CLI.py', 'description': 'Entry point for the fastproject command-line script\n ', 'signature': 'def entry():'}</s>{'name': 'ndarray_to_JS@FastProject/HtmlViewer.py', 'description': "Returns a string representation of np_array in JS list of lists syntax\n:param np_array: Array to be conver... | 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... | 1 |
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>dnsname = _get_value(_extconf, 'Network', 'dnsname', '') | 0 |
{'name': 'plot_xyc@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': 'plots training input data x and its class label y as well as the the linear \ndecision boundary and the value W[-1] or w in the first subplot if clf is given.\nIn the second subplot, it displays the traning resu... | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>ERROR_INVALID_USER_BUFFER = 1784 | 1 |
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\... | 0 |
{'name': 'LogException.__writeLog@boxx/tool/toolLog.py', 'description': '判断是否打印和写入', 'signature': 'def __writeLog(self,strr):'}</s>{'name': 'pcolor@boxx/tool/toolLog.py', 'description': '用颜色打印 不返回', 'code': "def pcolor(color, *s):\n '''\n 用颜色打印 不返回\n '''\n if not isinstance(color,int):\n color = fron... | 0 |
{'name': 'main@gget/main.py', 'description': 'Function containing argparse parsers and arguments to allow the use of gget from the terminal.', 'signature': 'def main():'}</s>{'name': 'set_up_logger@gget/utils.py', 'description': 'DOCSTRING', 'code': 'def set_up_logger():\n logging_level_name = os.getenv("GGET_LOGLEV... | 0 |
{'name': '_test_core@ci/on_push/test_end_to_end.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dir (str): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_core('}</s>{'name': 'dask_env... | 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>MQXF_XASTART = 33 | 0 |
{'name': 'MSONable.to_json@src/monty/json.py', 'description': 'Returns a json string representation of the MSONable object.', 'signature': 'def to_json(self) -> str:'}</s>{'name': 'MSONable@src/monty/json.py', 'description': 'This is a mix-in base class specifying an API for msonable objects. MSON\nis Monty JSON. Essen... | 1 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'code': 'def run_command(commands, args, cwd=None, verbose=False, hide_stderr=Fals... | 0 |
{'name': '_RDIReader.read_dat@mhkit/dolfyn/io/rdi.py', 'description': 'Main function map used to read or skip stored IDs', 'signature': 'def read_dat(self, id):'}</s>{'name': 'read_fixed_sl@mhkit/dolfyn/io/rdi_defs.py', 'description': 'Read surface layer fixed header', 'code': 'def read_fixed_sl(rdr):\n """Read surf... | 1 |
{'name': 'check_explicit_underscore_import@designateclient/hacking/checks.py', 'description': "Check for explicit import of the _ function\n\nWe need to ensure that any files that are using the _() function\nto translate logs are explicitly importing the _ function. We\ncan't trust unit test to catch whether the impor... | 1 |
{'name': '_ParseConfigSteps.__init__@mne_bids_pipeline/_docs.py', 'description': 'Build a mapping from config options to tuples of steps that use each option.\n\nThe mapping is stored in `self.steps`.', 'signature': 'def __init__(self, force_empty: tuple[str, ...] | None = None) -> None:'}</s>{'name': 'get_ecg_channel@... | 0 |
{'name': '_BuildVendorBootImage@tools/releasetools/common.py', 'description': "Build a vendor boot image from the specified sourcedir.\n\nTake a ramdisk, dtb, and vendor_cmdline from the input (in 'sourcedir'), and\nturn them into a vendor boot image.\n\nReturn the image data, or None if sourcedir does not appear to co... | 0 |
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_ref_as_global_const@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'make_condor_jobs@experiments/uci_exps/bayesian_benchmarks/scripts/make_experiments.py', 'description': "Writes a condor submission file, and also creates the executable if necessary. Preamble for the \nexectable (e.g. for setting up the python environment) should go in 'preamble.txt.txt'. Preamble\nfor the co... | 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': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CHANNEL_IN_USE = 4031 | 0 |
{'name': 'BitBoxCommonAPI.get_info@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Returns (version, platform, edition, unlocked, initialized).\nThis is useful to get the version of the firmware or the device unlocked/initialized status\nwhen a usb descriptor is not available (via BitBoxBrid... | 1 |
{'name': 'UrlBuilder.create_srcset@imgix/urlbuilder.py', 'description': "Create a srcset attribute.\n\nA srcset attribute consists of one or more non-empty URL. Each URL\nrepresents an image candidate string and each candidate string is\nseparated by a comma (U+002C) character (,). Read more about the\nsrcset attribute... | 0 |
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>VALID_FILESPEC = "Got a valid filespec" | 0 |
{'name': 'ParseArguments@tools/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):'}</s>_HEADERS_MAYBE_... | 0 |
{'name': 'RichTraceback._init_message@mako/exceptions.py', 'description': 'Find a unicode representation of self.error', 'signature': 'def _init_message(self):'}</s>{'name': 'memoized_property@mako/util.py', 'description': 'A read-only @property that is only evaluated once.', 'base_classes': ['object'], 'methods': [{'n... | 0 |
{'name': 'RidgeLogisticRegression.fit@parsimony/estimators.py', 'description': 'Fit the estimator to the data.\n ', 'signature': 'def fit(self, X, y, beta=None, sample_weight=None):'}</s>{'name': 'LogisticRegressionL1L2GL@parsimony/estimators.py', 'description': 'Logistic regression (re-weighted log-likelihood a... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_OVER = CScriptOp(0x78) | 0 |
{'name': 'TetherTask.configure@lang/py/avro/tether/tether_task.py', 'description': 'Parameters\n-------------------------------------------------------------------\ntaskType - What type of task (e.g map, reduce)\n - This is an enumeration which is specified in the input protocol\ninSchemaText - string containi... | 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>CTRL_CMD_ADD = 2 | 1 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'RecentList@shingetsu/cache.py', 'description': 'Recent updated files list.\n\nProvide file names and tags for node manager.', 'base_classes': ['UpdateList'], ... | 0 |
{'name': 'cli_progress_bar@versatileimagefield/image_warmer.py', 'description': "Prints out a Yum-style progress bar (via sys.stdout.write).\n`start`: The 'current' value of the progress bar.\n`end`: The '100%' value of the progress bar.\n`bar_length`: The size of the overall progress bar.\n\nExample output with start=... | 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': 'map_misp_attribute_to_zeek@shared/bin/zeek_threat_feed_utils.py', 'description': 'Maps a MISP attribute to Zeek intel items\n@see https://docs.zeek.org/en/current/scripts/base/frameworks/intel/main.zeek.html#type-Intel::Type\n@param attribute The MISPAttribute to convert\n@return a list containing the Zeek in... | 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': 'ULE@src/api/python/z3/z3.py', 'descr... | 0 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>PF_SYNCOOKIES_MODE_MAX = PF_SYNCOOKIES_ADAPTIVE | 0 |
{'name': 'AutoName@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'Helper method to generate names automatically based on default.', 'signature': 'def AutoName(base, resource, *args):'}</s>{'name': 'IsComputeLink@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'DOCSTRING', 'code': 'def IsComp... | 0 |
{'name': 'GoogleVisibleMap.__init__@salem/datasets.py', 'description': "Initialize\n\nParameters\n----------\nx : array\n x coordinates of the points to include on the map\ny : array\n y coordinates of the points to include on the map\ncrs : proj or Grid\n coordinate reference system of x, y\nsize_x : int\n image s... | 0 |
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'settings_has_syntax@sublime_haskell_common.py', 'description': 'DOCSTRING', 'code': "def settings_has_syntax(settings, s... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'ExternalScenario.create_markets@premise/external.py', 'description': 'Create new markets, and create a `World` market\nif no data is provided for it.', 'signature': 'def create_markets(self) -> None:'}</s>{'name': 'adjust_efficiency@premise/external.py', 'description': 'Adjust the input-to-output efficiency o... | 0 |
{'name': 'MCMCMetropoliHastings.sample@abcpy/inferences.py', 'description': 'Samples from the posterior distribution of the model parameter given the observed\ndata observations. The MCMC is run for burnin + n_samples steps, and n_samples_per_param are used at each step\nto estimate the approximate loglikelihood. The b... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>web_js_path = web_path / 'js' | 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': '_GetEstate@PyBioMed/PyMolecule/estate.py', 'description': '#################################################################\nObtain all Estate descriptors except Estate fingerprints .\n\nUsage:\n\n result=_GetEstate(mol)\n\n Input: mol is a molecule object.\n\n Output: result is a dict form containi... | 1 |
{'name': 'test_system_generator@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test SystemGenerator.', 'signature': 'def test_system_generator():'}</s>{'name': 'unwrap_py2@openmoltools/utils.py', 'description': 'Unwrap a wrapped function.\n\nThe function inspect.unwrap has been implemented only in P... | 0 |
{'name': 'calculate_association@tensorqtl/cis.py', 'description': 'Standalone helper function for computing the association between\na set of genotypes and a single phenotype.', 'signature': 'def calculate_association(genotype_df, phenotype_s, covariates_df=None,'}</s>{'name': '_process_group_permutations@tensorqtl/cis... | 0 |
{'name': 'get_free_memory_mb@bioconda_utils/utils.py', 'description': 'Return free memory as megabytes', 'signature': 'def get_free_memory_mb():'}</s>{'name': 'DivergentBuildsError@bioconda_utils/utils.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ... | 0 |
{'name': 'DistanceMapBuilder.__calc_residue_dist@preprocessing/biotoolbox/contact_map_builder.py', 'description': 'Returns the `self.atom` distance between two residues', 'signature': 'def __calc_residue_dist(self, residue_one, residue_two):'}</s>{'name': 'ContactMapContainer@preprocessing/biotoolbox/contact_map_builde... | 0 |
{'name': 'Fourier.line_integrate_all_multi@torchlaplace/inverse_laplace.py', 'description': 'Reconstruct trajectories :math:`\\mathbf{x}(t)` for `fp`, Laplace representations evaluated at `s` points from the input `ti` points, :math:`t`, using the selected ILT algorithm (takes batch input of `fp`).\n\nArgs:\n fp (Te... | 0 |
{'name': 'diff_matrix@dynaphopy/interface/iofile/__init__.py', 'description': ':param array_1: supercell scaled positions respect unit cell\n:param array_2: supercell scaled positions respect unit cell\n:param cell_size: diference between arrays accounting for periodicity\n:return:', 'signature': 'def diff_matrix(array... | 0 |
{'name': 'TestSequencePredictionHuman.test_3@test/test_base.py', 'description': 'test the dna and protein coding sequences are correct by comparing\nwith manually generally sequences', 'signature': 'def test_3(self):'}</s>{'name': 'FusionHunter@agfusion/parsers.py', 'description': 'FusionHunter parser.', 'base_classes'... | 0 |
{'name': 'postprocess_flow@models/utils/general_utils.py', 'description': 'Function to visualize the flow.\nArgs:\n flow : [H,W,2] optical flow\nReturs:\n grayscale image to visualize flow', 'signature': 'def postprocess_flow(flow):'}</s>{'name': 'tf_iou_computation@models/utils/general_utils.py', 'description': ... | 0 |
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'mkdir_p@tools/lldb/packages/Python/lldbsuite/test/lldbuti... | 0 |
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>{'name': 'PyTaichi@py... | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'mask_rows@venv/Lib/site-packages/numpy/ma/extras.py', 'description'... | 0 |
{'name': 'filtertime@api/project/__init__.py', 'description': 'Applies a time filter (inclusive; extracted from request arguments) to an OpenSearch query and\nreturns the range as a tuple of integers representing the milliseconds since EPOCH. If\neither end of the range is unspecified, the start and end times default t... | 0 |
{'name': 'Fake.__init__@verif/input.py', 'description': 'A fake input\n\nobs A 1, 2, or 3D array of obsevations.\n If 3D assume the dimensions are (time,leadtime,location)\n If 2D assume the dimensions are (time,leadtime)\n If 1D assume the dimensions are (time)', 'signature': 'def __init__... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCHRR_RESET_NOT_REQUESTED = 0 | 0 |
{'name': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>{'name': 'transaction@n26/cli.py', 'description': 'Create a bank transfer', 'code': 'def tran... | 0 |
{'name': 'ZoneoutLSTMCell.call@ZoneoutLSTMCell.py', 'description': 'Run one step of LSTM.\n\nArgs:\n inputs: input Tensor, 2D, `[batch, num_units].\n state: if `state_is_tuple` is False, this must be a state Tensor,\n `2-D, [batch, state_size]`. If `state_is_tuple` is True, this must be a\n tuple of state Tens... | 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': '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': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>{'name': 'get_bitbox02multi_device@py/bitbox02/bitbox02/communication/devices.py', 'description': '... | 0 |
{'name': 'test_components_is_2D@test/test_mahalanobis_mixin.py', 'description': 'Tests that the transformation matrix of metric learners is 2D', 'signature': 'def test_components_is_2D(estimator, build_dataset):'}</s>metric_learners = tuples_learners + supervised_learners | 0 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 0 |
{'name': 'is_mlflow_tracking_enabled@lazypredict/Supervised.py', 'description': 'Checks if MLflow tracking is enabled via environment variable.', 'signature': 'def is_mlflow_tracking_enabled():'}</s>REGRESSORS = [
est
for est in all_estimators()
if (issubclass(est[1], RegressorMixin) and (est[0] not in remo... | 0 |
{'name': 'TestUnusualSocketConditions.test_handle_recv_wantread_upload@test/test_sync_connection.py', 'description': 'When a socket is marked readable during request upload but returns\nWANT_READ when read from, the code ignores it and continues with upload.', 'signature': 'def test_handle_recv_wantread_upload(self):'}... | 0 |
{'name': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 1 |
{'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': 'verifyFolderStructure@example/STM32F051K4_linker/ideScripts/utilities.py', 'description': "Verify if folder structure is correct.\n'ideScript' folder must be placed in the root of the project, where:\n - exactly one '*.code-workspace' file must exist (this is also Workspace name)\n - '.vscode' folder is... | 0 |
{'name': '_EpanetRule.add_control_condition@wntr/epanet/io.py', 'description': 'Add a ControlCondition from an IfThenElseControl', 'signature': "def add_control_condition(self, condition, prefix=' IF'):"}</s>{'name': 'Junction@wntr/network/elements.py', 'description': 'Junction class, inherited from Node.\n\nJunctions ... | 0 |
{'name': 'Zeroconf.handleQuery@stino/pyarduino/base/zeroconf.py', 'description': 'Deal with incoming query packets. Provides a response if\npossible.', 'signature': 'def handleQuery(self, msg, addr, port):'}</s>_TYPE_WKS = 11 | 0 |
{'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>is_rank0 = args.local_rank == 0 | 0 |
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.