text string | label int64 |
|---|---|
{'name': 'bytes_hash@lib/charliecloud.py', 'description': 'Return the hash of data, as a hex string with no leading algorithm tag.', 'signature': 'def bytes_hash(data):'}</s>{'name': 'Progress@lib/charliecloud.py', 'description': 'Simple progress meter for countable things that updates at most once per\nsecond. Writes ... | 0 |
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'TransformerEncoder@fairseq/model_parallel/models/pipeline_parallel_transfor... | 0 |
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>CRU_BASE = "cru_ts4.04.1901.2019.{}.dat.nc" | 0 |
{'name': 'PBES2.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES2*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQAXC_CURRENT_VERSION = 2 | 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_USAGE_DATA_SET = 1169 | 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': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'SRVDtcRecord@infoblox_client/objects.py', 'description': "SRVDtcRecord: DTC SR... | 0 |
{'name': '_smaller_indices@vamb/cluster.py', 'description': 'Get all indices where the tensor is smaller than the threshold.', 'signature': 'def _smaller_indices('}</s>{'name': 'write_bins@vamb/vambtools.py', 'description': 'Writes bins as FASTA files in a directory, one file per bin.\n\nInputs:\n directory: Directo... | 0 |
{'name': 'convert_model_fields_to_ldap_fields@django_python3_ldap/utils.py', 'description': 'Converts a set of model fields into a set of corresponding\nLDAP fields.', 'signature': 'def convert_model_fields_to_ldap_fields(model_fields):'}</s>{'name': 'clean_user_data@django_python3_ldap/utils.py', 'description': 'Trans... | 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': 'UserRepository.prettify_info@src/repositories/user.py', 'description': 'Сформировать строку с информацией о юзере.', 'signature': 'def prettify_info(user: Optional[User]) -> str:'}</s>{'name': 'UserRepository@src/repositories/user.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'User... | 1 |
{'name': 'add_constructor@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Add a constructor for the given tag.\nConstructor is a function that accepts a Loader instance\nand a node object and produces the corresponding Python object.', 'signature': 'def add_constructor(tag, constructor, Loader=Loader)... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMLP_TOLERATE_UNPROTECTED_YES = 1 | 0 |
{'name': 'TotalText.parse_carve_txt@dataset/total_text.py', 'description': '.mat file parser\n:param gt_path: (str), mat file path\n:return: (list), TextInstance', 'signature': 'def parse_carve_txt(gt_path):'}</s>{'name': 'get_file_size@util/io.py', 'description': 'DOCSTRING', 'code': 'def get_file_size(path, unit = SI... | 0 |
{'name': 'Bundle.get_remote_file@disdat/api.py', 'description': 'Create a "managed path" to store file `filename` directly in the remote data context.\nThis allows you to create versioned data sets without file copies.\n\nTo use, you must a.) write data into this file-like object (a \'target\'), and b.) add this\ntarge... | 0 |
{'name': 'dm_to_sd@pynmea2/nmea_utils.py', 'description': 'Converts a geographic co-ordinate given in "degrees/minutes" dddmm.mmmm\nformat (eg, "12319.943281" = 123 degrees, 19.943281 minutes) to a signed\ndecimal (python float) format', 'signature': 'def dm_to_sd(dm):'}</s>{'name': 'timestamp@pynmea2/nmea_utils.py', '... | 0 |
{'name': 'BaseLiteApp.flags@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'Get CLI flags, including ones provided by addons.', 'signature': 'def flags(self):'}</s>{'name': 'LiteCheckApp@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'verify a JupyterLite site, using available schema and rul... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'make_utxo@test/functional/feature_rbf.py', 'description': 'Create a txout with a given am... | 1 |
{'name': 'get_sitemessage_urls@sitemessage/toolbox.py', 'description': "Returns sitemessage urlpatterns, that can be attached to urlpatterns of a project:\n\n# Example from urls.py.\n\nfrom sitemessage.toolbox import get_sitemessage_urls\n\nurlpatterns = patterns('',\n # Your URL Patterns belongs here.\n\n) + get_si... | 0 |
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'TornadoServer@src/back/kite/bottle.py', 'description': 'The super hyped asynchronous server by facebook. Untested. ', ... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFTM_UDP_SINGLE = 7 | 0 |
{'name': 'EcGroup.order@petlib/ec.py', 'description': 'Returns the order of the group as a Big Number.\n\nExample:\n >>> G = EcGroup()\n >>> G.order() * G.generator() == G.infinite() ## Should hold.\n True', 'signature': 'def order(self):'}</s>_debug = True | 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': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': '_ConvertInteger@python/google/protobuf/json_format.py', 'description': "Convert an integer... | 0 |
{'name': 'IsiDataInsightsDaemon.__init__@isi_data_insights_daemon.py', 'description': "Initialize.\n:param: pidfile is the path to the daemon's pidfile (required).", 'signature': 'def __init__(self, pidfile):'}</s>{'name': 'DerivedStatInput@isi_data_insights_daemon.py', 'description': 'DOCSTRING', 'base_classes': ['obj... | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': 'read_file@mako/util.py', 'description': 'DOCSTRING', 'code': "def read_file(path, mode='rb'):\n fp = open(path, mode)\n try:\n... | 0 |
{'name': 'InventorySet.generate_heat_map@premise/activity_maps.py', 'description': 'Filter ecoinvent processes related to heat production.\n\n:return: dictionary with heat prod. techs as keys (see below) and\n sets of related ecoinvent activities as values.\n:rtype: dict', 'signature': 'def generate_heat_map(self) -... | 0 |
{'name': 'cluster_anchors@lib/rpn_util.py', 'description': 'Clusters the anchors based on the imdb boxes (in 2D and/or 3D).\n\nGenerally, this method does a custom k-means clustering using 2D IoU\nas a distance metric.', 'signature': 'def cluster_anchors(feat_stride, anchors, test_scale, imdb, lbls, ilbls, anchor_ratio... | 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': 'Parser.p_expression_bytes@lib/rule_engine/parser/__init__.py', 'description': 'object : BYTES', 'signature': 'def p_expression_bytes(self, p):'}</s>{'name': '_CollectionMixin@lib/rule_engine/ast.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': '_CollectionMixin.evaluate@lib/ru... | 0 |
{'name': 'get_dataset@sms_wsj/examples/metric_target_comparison.py', 'description': ">>> np.set_string_function(lambda a: f'array(shape={a.shape}, dtype={a.dtype})')\n>>> pprint(get_dataset('cv_dev93')[0]) # doctest: +ELLIPSIS\n{'audio_path': ...,\n ...,\n 'example_id': '4k0c0301_4k6c030t_0',\n ...,\n 'kaldi_transcrip... | 1 |
{'name': 'run_doxygen@scripts/docs/api_docgen/system_commands.py', 'description': 'Run Doxygen to generate documentation metadata', 'signature': 'def run_doxygen():'}</s>DOC_FIELD = "__doc__" | 0 |
{'name': 'babel_extract@third_party/dawn/third_party/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 th... | 0 |
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_get_bucket_meta@ut/test.py', 'description': '测试get_buckt_meta()接口', 'code': 'def test_get_bucket_meta():\n """测试get_buckt... | 0 |
{'name': 'exec_lint@check_lint.py', 'description': "Utility function to unconditionally execute `SublimeHaskellLint.run()` without worrying about the command's status.\n ", 'signature': 'def exec_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'SublimeHaskellNextError@parseoutput... | 0 |
{'name': 'TFMelGANGenerator.__init__@parallel_wavegan/models/tf_models.py', 'description': 'Initialize TFMelGANGenerator module.\n\nArgs:\n in_channels (int): Number of input channels.\n out_channels (int): Number of output channels.\n kernel_size (int): Kernel size of initial and final conv layer.\n channe... | 1 |
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>{'name': 'pfioc_state_kill@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'apogee@gaia_tools/load/__init__.py', 'description': "PURPOSE:\n read the APOGEE allStar file\nINPUT:\n IF the apogee package is not installed:\n dr= (14) SDSS data release\n use_astroNN= (False) if True, swap in astroNN (Leung & Bovy 2019a) parameters (get placed in, e.g., TEFF and TEFF_ERR) a... | 0 |
{'name': 'ChoppedTextProblem.sequence_length@tensor2tensor_envi/data_generators/text_problems.py', 'description': 'Length of each example (in tokens).', 'signature': 'def sequence_length(self):'}</s>{'name': 'Text2textTmpdir@tensor2tensor_envi/data_generators/text_problems.py', 'description': 'Allows training a Text2Te... | 0 |
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'WSGIFileWrapper@src/back/kite/bottle.py', 'description': 'DOCSTRING... | 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': 'DeeppolyPoolNode@tf_verify/deeppoly_nodes.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Deeppoly... | 0 |
{'name': 'distribute_points@phi/field/_point_cloud.py', 'description': 'Transforms `Geometry` objects into a PointCloud.\n\nArgs:\n geometries: Geometry objects marking the cells which should contain points\n dim: Dimension along which the points are listed.\n points_per_cell: Number of points for each cell of... | 1 |
{'name': 'VerticalSwipe.rect@qt4a/andrcontrols.py', 'description': 'left, top, width, height\n ', 'signature': 'def rect(self):'}</s>{'name': 'TabWidget@qt4a/andrcontrols.py', 'description': 'Tab控件\n ', 'base_classes': ['View'], 'methods': [{'name': 'TabWidget.selected_index@qt4a/andrcontrols.py', 'descriptio... | 0 |
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p... | 0 |
{'name': 'TestMecab.test_init_libunset@tests/test_mecab.py', 'description': 'Test for load error when MeCab lib is not found.', 'signature': 'def test_init_libunset(self):'}</s>logger = logging.getLogger('natto.mecab') | 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': 'check_mp_ver@utils/nb_check.py', 'description': 'Check and optionally update the current version of msticpy.\n\nParameters\n----------\nmin_py_ver : Tuple[int, int]\n Minimum MSTICPy version\n\nRaises\n------\nRuntimeError\n If the MSTICPy version does not support the notebook\n and the user chose no... | 0 |
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>PM_CAP_LEN = 2 | 0 |
{'name': 'TestCase.setUp@os_brick/tests/base.py', 'description': 'Run before each test method to initialize test environment.', 'signature': 'def setUp(self):'}</s>REPLICAS = "volume_replicas" | 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': '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': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_USE_C_DESCRIPTORS = False | 0 |
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>_CLSIDFromProgID = _ole32.CLSIDFromProgID | 0 |
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ... | 0 |
{'name': 'RClip._does_processed_image_exist_for_raw@rclip/main.py', 'description': "Check if there is a processed image alongside the raw one; doesn't support mixed-case extensions,\ne.g. it won't detect the .JpG image, but will detect .jpg or .JPG", 'signature': 'def _does_processed_image_exist_for_raw(self, raw_path:... | 0 |
{'name': 'MapperTest.test_holiday_mode@tests/test_mapper.py', 'description': 'Test map holiday mode.', 'signature': 'def test_holiday_mode(self) -> None:'}</s>{'name': '_map_holiday_mode@pymultimatic/model/mapper.py', 'description': 'Map *holiday mode*.', 'code': 'def _map_holiday_mode(json) -> HolidayMode:\n """Map... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCBD_FULL_MSG_LENGTH = -1 | 0 |
{'name': 'FaultSupervisionSubscriptionsView.create@FaultManagement/views.py', 'description': 'Create a single subscription\n\nTo create a subscription the representation of the subscription is POSTed on the /subscriptions collection resource.', 'signature': 'def create(self, request, *args, **kwargs):'}</s>... | 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': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'TypeQualifier@ctypesgen/parser/cdeclarations.py', 'description': 'DOCSTRING', 'base_classes': ['str'], 'methods': [{'name':... | 0 |
{'name': 'resolve_all@harvesting/app.py', 'description': 'Combine information from different collections into one document\nby resolving all foreign keys in any project document and any software\ndocument', 'signature': 'def resolve_all():'}</s>{'name': 'harvest_group@harvesting/app.py', 'description': 'Harvest data fr... | 0 |
{'name': 'unique@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Returns list with unique entries of input list', 'signature': 'def unique(lst):'}</s>{'name': 'get_build_and_test_root@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_build_and_test_root(prefix, ti... | 0 |
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ... | 0 |
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>{'name': 'iterbytes@serial/serialutil.py', 'description': 'Iterate over bytes, returning bytes instead of ints (python3)', 'code': 'def iterbytes(b):\n ... | 0 |
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>TYPE_KML20 = 10 | 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': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ... | 0 |
{'name': 'conv1d_transpose@modules.py', 'description': 'Args:\n inputs: A 3-D tensor with shape of [batch, time, depth].\n filters: An int. Number of outputs (=activation maps)\n size: An int. Filter size.\n rate: An int. Dilation rate.\n padding: Either `same` or `valid` or `causal` (case-insensitive).\n dropout... | 0 |
{'name': 'test_shape_mismatch1@tests/test_propagator.py', 'description': 'Check error when Tensors not right shape.', 'signature': 'def test_shape_mismatch1(prop):'}</s>{'name': 'test_wavefield_too_big2@tests/test_propagator.py', 'description': 'Check error when wavefield is bigger than model.', 'code': 'def test_wavef... | 0 |
{'name': 'Stat._restore_result_shape@util/runningstats.py', 'description': 'Restores output data to input data shape.', 'signature': 'def _restore_result_shape(self, x, attr="data_shape"):'}</s>{'name': 'cache_load_enabled@util/runningstats.py', 'description': 'When used as a context manager, cache_load_enabled(False) ... | 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... | 0 |
{'name': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'parse_bids_fname_ke... | 1 |
{'name': 'AdalineSGD._initialize_weights@Chapter02/ch02.py', 'description': 'Initialize weights to small random numbers', 'signature': 'def _initialize_weights(self, m):'}</s>ada = AdalineSGD(n_iter=15, eta=0.01, random_state=1) | 0 |
{'name': 'TestCondenseMultilineCalls._get_test_cases@compyle/tests/test_cython_generator.py', 'description': 'Returns a dictionary of test cases.', 'signature': 'def _get_test_cases(self):'}</s>{'name': 'TestCythonCodeGenerator@compyle/tests/test_cython_generator.py', 'description': 'DOCSTRING', 'base_classes': ['TestB... | 0 |
{'name': 'ContextualMentions.from_json@third_party/utils_mewslix.py', 'description': 'Creates a new ContextualMentions from the given JSON-dictionary.', 'signature': 'def from_json(json_dict: JsonDict) -> ContextualMentions:'}</s>{'name': 'load_jsonl@third_party/utils_mewslix.py', 'description': 'Loads the designated t... | 0 |
{'name': 'parse_args_mat_plot@src/python_scripts/afnipy/lib_mat2d_plot.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_mat_plot(full_argv):'}</s>{'name': 'GetSelectionFromList@src/python_scripts/afnipy/afni_ba... | 0 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'HTMLAttributeParser@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Trivial ... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'is_ascii_string@gef.py', 'description': 'Helper function to determine if the buffer pointed by `address` is an ASCII string (in GDB)', 'code': 'def is_a... | 0 |
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d... | 0 |
{'name': 'BuildModel.set_device@argus/model/build.py', 'description': 'Move nn_module and loss to the specified device.\n\nIf a list of devices is passed, :class:`torch.nn.DataParallel` will be\nused. Batch tensors will be scattered on dim 0. The first device in the\nlist is the location of the output. By default, devi... | 0 |
{'name': 'UFOBuilder.__init__@Lib/glyphsLib/builder/builders.py', 'description': 'Create a builder that goes from Glyphs to UFO + designspace.\n\nKeyword arguments:\nfont -- The GSFont object to transform into UFOs. We expect this GSFont\n object to have been pre-processed with\n ``glyphsLib.builder.prefl... | 0 |
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>post = make_default_app_wrapper('post') | 0 |
{'name': 'cifar_resnet_flop@functions/cal_flop.py', 'description': ':param layer: the layer of Resnet for Cifar, including 110, 56, 32, 20\n:param prune_rate: 1 means baseline\n:return: flop of the network', 'signature': 'def cifar_resnet_flop(layer=110, prune_rate=1):'}</s>{'name': 'cal_res@functions/cal_flop.py', 'de... | 0 |
{'name': 'PandasToPandasReader.advanced_roles_guess@lightautoml/reader/base.py', 'description': "Advanced roles guess over user's definition and reader's simple guessing.\n\nStrategy - compute feature's NormalizedGini\nfor different encoding ways and calc stats over results.\nRole is inferred by comparing performance s... | 1 |
{'name': '_aspect_preserving_resize@Chapter10/10_deep_learning/04_framework_profile/tensorflow/RN50v1.5/utils/image_processing.py', 'description': 'Resize images preserving the original aspect ratio.\n\nArgs:\nimage: A 3-D image `Tensor`.\nresize_min: A python integer or scalar `Tensor` indicating the size of\n the sm... | 0 |
{'name': 'Imputer.fit@datawig/imputer.py', 'description': "Trains and stores imputer model\n\n:param train_df: training data as dataframe\n:param test_df: test data as dataframe; if not provided, [test_split] % of the training\n data are used as test data\n:param ctx: List of mxnet contexts (if no gpu's ... | 0 |
{'name': 'upload_to_s3@Chapter12/Code/clickfraud_processing.py', 'description': 'input: S3 bucket name, folder on the bucket, RecordIO file to upload', 'signature': 'def upload_to_s3(bucket, channel, file):'}</s>{'name': 'create_date_ftrs@Chapter12/Code/clickfraud_processing.py', 'description': 'create day, hour, minut... | 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': '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>CS_OPT_SYNTAX_ATT = 2 | 0 |
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n... | 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': 'RunWithSharding@third_party/include/protobuf-2.6.1/gtest/test/gtest_filter_unittest.py', 'description': 'Runs a test program shard and returns exit code and a list of tests run.', 'signature': 'def RunWithSharding(total_shards, shard_index, command):'}</s>FILTER_FLAG = "gtest_filter" | 0 |
{'name': 'idejs_static@ide/routes.py', 'description': 'ide.js is a special file in that it has the `approved` webserver name embedded in it.\n(e.g., "glowscript.org"). Since we\'re deploying on development/test servers as well\nwe need to be able to swap out the approved name at runtime. This scheme let\'s us\nswap it ... | 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>atlas_font = dvz.dvz_atlas_font | 0 |
{'name': 'preprocess_objdump_out@tools/asm-differ/diff.py', 'description': 'Preprocess the output of objdump into a format that `process()` expects.\nThis format is suitable for saving to disk with `--write-asm`.\n\n- Optionally filter the output to a single function (`restrict`)\n- Otherwise, strip objdump header (7 l... | 0 |
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>sandbox_endpoint = "" | 0 |
{'name': 'attrs@vendor/attr/_make.py', 'description': 'A class decorator that adds `dunder\n<https://wiki.python.org/moin/DunderAlias>`_\\ -methods according to the\nspecified attributes using `attr.ib` or the *these* argument.\n\n:param these: A dictionary of name to `attr.ib` mappings. This is\n useful to avoid t... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.