text string | label int64 |
|---|---|
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(... | 0 |
{'name': 'embedding_postprocessor@baselines/models/bert/modeling.py', 'description': 'Performs various post-processing on a word embedding tensor.\n\nArgs:\n input_tensor: float Tensor of shape [batch_size, seq_length,\n embedding_size].\n use_token_type: bool. Whether to add embeddings for `token_type_ids`.\n to... | 0 |
{'name': 'test_make_dag_with_callbacks@tests/test_dagbuilder.py', 'description': 'test_make_dag_with_callbacks\n\nValidate that the DAG builds. Then, check callbacks configured at the DAG-level.', 'signature': 'def test_make_dag_with_callbacks():'}</s>{'name': 'test_build_task_groups@tests/test_dagbuilder.py', 'descrip... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': 'TarInfo@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py',... | 1 |
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>degenNuc = [("R", "A"), ("R", "G"),
("M", "A"), ("M", "C"),
("W", "A"), ("W", "T"),
("S", "C"), ("S", "G"),
("Y", "C")... | 0 |
{'name': 'CSSParser._parseSelector@xhtml2pdf/w3c/cssParser.py', 'description': 'selector\n: simple_selector [ combinator simple_selector ]*\n;', 'signature': 'def _parseSelector(self, src):'}</s>_borderStyleTable = {
"none": 0,
"hidden": 0,
"dotted": 1,
"dashed": 1,
"solid": 1,
"double": 1,
... | 0 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 0 |
{'name': 'inceptionresnetv2@DeepFish/models/inception.py', 'description': 'InceptionResNetV2 model architecture from the\n`"InceptionV4, Inception-ResNet..." <https://arxiv.org/abs/1602.07261>`_ paper.', 'signature': 'def inceptionresnetv2(num_classes=1000, pretrained=None):'}</s>{'name': 'InceptionResNetV2@DeepFish/mo... | 1 |
{'name': 'urlsplit@bleach/_vendor/parse.py', 'description': "Parse a URL into 5 components:\n<scheme>://<netloc>/<path>?<query>#<fragment>\nReturn a 5-tuple: (scheme, netloc, path, query, fragment).\nNote that we don't break the components up in smaller bits\n(e.g. netloc is a single string) and we don't expand % escap... | 0 |
{'name': 'StandardGzip.__getitem__@pymzml/file_classes/standardGzip.py', 'description': "Access the item with id 'identifier' in the file by iterating the xml-tree.\n\nArguments:\n identifier (str): native id of the item to access\n\nReturns:\n data (str): text associated with the given identifier", 'signature': ... | 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': '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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRCCF_FUNCTION_RESTRICTED = 3227 | 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': '_clean_line@wntr/epanet/io.py', 'description': 'Parameters\n----------\nwn: wntr.network.WaterNetworkM... | 0 |
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>STOPPED_DUE_TO_SIGNAL = "Process s... | 0 |
{'name': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>URL_2FAQR = "/2faqr" | 0 |
{'name': 'init_exporter@nbinteract/cli.py', 'description': 'Returns an initialized exporter.', 'signature': 'def init_exporter(extract_images, execute, **exporter_config):'}</s>BINDER_BASE_URL = "https://mybinder.org/v2/gh/" | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'zip_data@utils/util.py', 'description': ':param file_to_zip:\n:param path:\n:return:', 'signature': 'def zip_data(file_to_zip, path):'}</s>{'name': 'load_logger@utils/util.py', 'description': ':param level:\n:param path:\n:param name:', 'code': 'def load_logger(level, path, name):\n """\n\n :param level... | 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': 'max_dim_1D@src/python_scripts/afnipy/afni_util.py', 'description': 'return... | 0 |
{'name': 'DocumentsGenerator._generate_for_single_subscription@silver/documents_generator.py', 'description': 'Generates the billing documents corresponding to a single subscription.\nUsually used when a subscription is ended with `when`=`now`.', 'signature': 'def _generate_for_single_subscription(self, subscription=No... | 0 |
{'name': 'cylinderToVTK@pyevtk/hl.py', 'description': 'Export cylinder as VTK unstructured grid.\n\nParameters\n----------\npath : str\n name of the file without extension where data should be saved.\nx0 : float\n x-center of the cylinder.\ny0 : float\n y-center of the cylinder.\nz0 : float\n lower end of t... | 1 |
{'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': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'GefManager@gef.py', 'description': 'DOCSTRIN... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>empty = Empty().setName("empty") | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIIH_NONE = 0 | 0 |
{'name': 'TorrentsAPIMixIn.torrents_add_peers@src/qbittorrentapi/torrents.py', 'description': "Add one or more peers to one or more torrents.\n\nThis method was introduced with qBittorrent v4.4.0 (Web API v2.3.0).\n\n:raises InvalidRequest400Error: for invalid peers\n\n:param peers: one or more peers to add. each peer ... | 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': 'get_model@src/api_trt/modules/model_zoo/getter.py', 'description': "Returns an inference backend instance with a loaded model.\n\nArgs:\n model_name (str): The name of the model.\n backend_name (str): The name of the backend (onnx, mxnet, trt).\n im_size (List[int]): The desired maximum size of the i... | 0 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>DEFAULT_GRANULARITY = 60 | 0 |
{'name': 'addLevelName@local/clogging.py', 'description': 'Will not be added to `__all__`.', 'signature': 'def addLevelName(level, levelName, color=None, force=False):'}</s>{'name': 'removeAddedLevelName@local/clogging.py', 'description': 'DOCSTRING', 'code': 'def removeAddedLevelName(levelName):\n levelName = level... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPMO_MD_FOR_OUTPUT_ONLY = 8388608 | 0 |
{'name': 'test_cli_error_handling@tests/test_cli.py', 'description': 'Test CLI error handling when URL normalization fails.', 'signature': 'def test_cli_error_handling(capsys, monkeypatch):'}</s>{'name': 'test_cli_default_domain_no_effect_on_relative_paths@tests/test_cli.py', 'description': 'Test default domain has no ... | 0 |
{'name': 'batch_mlp@tf_utils.py', 'description': ':param h: batch * pair * 2k\n:param num_pairs:\n:param init:\n:param net_sizes:\n:param net_acts:\n:param net_keeps:\n:param add_bias\n:return:', 'signature': 'def batch_mlp(h, node_in, num_pairs, init, net_sizes, net_acts, net_keeps, add_bias=True,'}</s>{'name': 'get_l... | 0 |
{'name': 'DeployerLibrary.write_config@triton/deployer_lib.py', 'description': 'writes Triton config file \n:: config_filename :: the file to write the config file into\n:: input_shapes :: tuple of dynamic shapes of the input tensors\n:: input_types :: tuple of torch types of the input tensors\n:: output_shapes :: tupl... | 1 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'pick_areas_rectangle@picasso/lib.py', 'description': 'Returns pick areas for each p... | 0 |
{'name': 'image_preprocessing@Tutorial Deploy to OpenCV dnn/aid_cv2_dnn.py', 'description': 'Wrapper function which performs all image preprocessing steps, required\nfor preparing raw rtdc images to be forwarded through a neural net,\n\nParameters\n----------\nimages: numpy array of shape (nr.images,height,width,channe... | 1 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>{'name': 'Private@vimdoc/docline.py', 'description': 'DOCSTRING', 'base_classes': ['BlockDirective'], 'methods': [{'name': 'Private.Upd... | 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': 'HdlParseTC.parseWithRef@tests/hdl_parse_tc.py', 'description': 'Parse file and compare it with a reference file.\n\n:param fname: name of a file to parse\n:type fname: str\n:type language: Language\n:param ref_fname: name of reference file in the case it is not the same\n (relative to "expected/" )\n:param... | 0 |
{'name': 'Case.get_cases@sqlparse/sql.py', 'description': 'Returns a list of 2-tuples (condition, value).\n\nIf an ELSE exists condition is None.', 'signature': 'def get_cases(self, skip_ws=False):'}</s>{'name': 'remove_quotes@sqlparse/utils.py', 'description': 'Helper that removes surrounding quotes from strings.', 'c... | 0 |
{'name': 'Test.test_L5@tests/test_image.py', 'description': 'Test the image module for Landsat 5', 'signature': 'def test_L5(self):'}</s>MOD08_M3 = ee.ImageCollection("MODIS/061/MOD08_M3").first() | 0 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'n_futures_done@picasso/lib.py', 'description': 'Returns the number of finished futu... | 0 |
{'name': 'ResnetCompleteNetworkTest._resnet_small@Attackset/Iter8_v3_resv2_inresv2_random/nets/resnet_v1_test.py', 'description': 'A shallow and thin ResNet v1 for faster tests.', 'signature': 'def _resnet_small(self,'}</s>{'name': 'stack_blocks_dense@Attackset/fgsm_ensv3_random/nets/resnet_utils.py', 'description': "S... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'matrix_multiply_2D@src/python_scripts/afnipy/afni_util.py', 'desc... | 0 |
{'name': 'urldecode@requests_oauthlib/oauth1_session.py', 'description': 'Parse query or json to python dictionary', 'signature': 'def urldecode(body):'}</s>{'name': 'OAuth1Session@requests_oauthlib/oauth1_session.py', 'description': "Request signing and convenience methods for the oauth dance.\n\nWhat is the differenc... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'get_full_version@src/api/python/z3/z3.py',... | 0 |
{'name': 'initialize_runtime_options@da/common.py', 'description': "Sets and sanitizes runtime options.\n\n'options' should be a dict-like object containing mappings from options\nnames to corresponding values.", 'signature': 'def initialize_runtime_options(options=None):'}</s>{'name': 'Null@da/common.py', 'description... | 0 |
{'name': 'parse_errors@scripts/tests/libytest/parsers/error_parsers.py', 'description': 'Parses the provided StringIO text through the parsers\nspecified by \'error_types\'. The entire stdout buffer will be\nparsed, and then reset to its original position.\n\nFor a list of valid `error_type` strings, check this module\... | 0 |
{'name': 'diag@burpui/cli.py', 'description': 'Check Burp-UI is correctly setup.', 'signature': 'def diag(client, host, tips):'}</s>{'name': '_die@burpui/cli.py', 'description': 'DOCSTRING', 'code': 'def _die(error, appli=None):\n appli = " \'{}\'".format(appli) if appli else ""\n err(\n "Unable to initial... | 1 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>{'name': 'SegwitVersion1SignatureHash@test/functional/test_framework/script.py', 'description': 'DOCSTRING', 'code': 'def SegwitVersion1Signa... | 0 |
{'name': 'suggest_name_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that name could be handled in a special way.', 'signature': 'def suggest_name_as_special_case(name):'}</s>{'name': 'suggest_if_file_is_dir@didyoumean/didyoumean_internal.py', 'description': 'Get suggestions when a file is... | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': '_dict2sarray@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _dict2sarray(sorts, ctx):\n sz = len(sorts)\... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFSTATUS_NO_BACKUP = 22 | 0 |
{'name': 'read_nortek@mhkit/dolfyn/io/nortek.py', 'description': "Read a classic Nortek (AWAC and Vector) datafile\n\nParameters\n----------\nfilename : string\n Filename of Nortek file to read.\nuserdata : bool, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file.\n Defaul... | 0 |
{'name': 'denoise@findpeaks/stats.py', 'description': "Denoise input data.\n\nDescription\n-----------\nDenoising the data is very usefull before detection of peaks. Multiple methods are implemented to denoise the data.\nThe bilateral filter uses a Gaussian filter in the space domain,\nbut it also uses one more (multip... | 0 |
{'name': 'Sheet.insert@tksheet/sheet.py', 'description': 'Insert an item into the treeview\n\nReturns:\n str: new item iid', 'signature': 'def insert('}</s>{'name': 'num2alpha@tksheet/functions.py', 'description': 'DOCSTRING', 'code': 'def num2alpha(n: int) -> str | None:\n try:\n s = ""\n n += 1\n ... | 0 |
{'name': 'on_config_inited@docs/source/conf.py', 'description': 'rebuild', 'signature': 'def on_config_inited(*args):'}</s>pygments_style = "sphinx" | 0 |
{'name': 'SciQuery.submit_query_job@py3/SciServer/SciQuery.py', 'description': "Submits a sql query for execution (as an asynchronous job) inside a relational database (RDB) compute domain.\n\n:param sql_query: sql query (string)\n:param database: defines the database where the sql query is executed in.\n Can be eit... | 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': 'Node.has_children@hamlish_jinja.py', 'description': 'returns False if children is empty or contains only empty lines else True.', 'signature': 'def has_children(self):'}</s>{'name': 'EmptyLine@hamlish_jinja.py', 'description': 'Used in debug mode.', 'base_classes': ['Node'], 'methods': []} | 1 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_INDEX = "index" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMDE_STRUC_ID_ARRAY = [b"M", b"D", b"E", b" "] | 0 |
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>{'name': 'is_k@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_k(operand):\n import peachpy.x86_64.register... | 0 |
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each... | 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>{'name': '_get_bool_config@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXT_API_CROSSING_EXIT = 1 | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid... | 0 |
{'name': 'euler_from_matrix@transformations.py', 'description': 'Return Euler angles from rotation matrix for specified axis sequence.\n\naxes : One of 24 axis sequences as string or encoded tuple\n\nNote that many Euler angle triplets can describe one matrix.\n\n>>> R0 = euler_matrix(1, 2, 3, \'syxz\')\n>>> al, be, ga... | 0 |
{'name': 'create_transforms@scripts/imagenet/utils.py', 'description': 'Create transforms from configuration\n\nParameters\n----------\ninput_config : dict\n Dictionary containing the configuration options for input pre-processing.\n\nReturns\n-------\ntrain_transforms : list\n List of transforms to be applied to... | 0 |
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'CessionarioCommittente@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': []} | 0 |
{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini... | 0 |
{'name': 'valentines_day@alphapy/calendrical.py', 'description': "Get Valentine's day for a given year.\n\nParameters\n----------\ngyear : int\n Gregorian year.\n\nReturns\n-------\nvalentines : int\n Valentine's Day in RDate format.", 'signature': 'def valentines_day(gyear):'}</s>{'name': 'nth_kday@alphapy/calen... | 0 |
{'name': 'template@src/back/kite/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 template(*args, **kwarg... | 0 |
{'name': '_strip_html_media@ankipandas/util/checksum.py', 'description': 'Strip HTML but keep media filenames', 'signature': 'def _strip_html_media(s):'}</s>_reScript = re.compile("(?si)<script.*?>.*?</script>") | 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': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>{'name': '_day_of_month_extractor@n26/cli.py', 'description': 'DOCSTRING', 'code': 'def _day_of_month_extractor(key: str):\n def extractor(dictionary: dict):\n value = dictionary.get(key)\n if value... | 0 |
{'name': 'BankIDClient.cancel@bankid/syncclient.py', 'description': 'Cancels an ongoing sign or auth order.\n\nThis is typically used if the user cancels the order\nin your service or app.\n\n:param order_ref: The UUID string specifying which order to cancel.\n:type order_ref: str\n:return: Boolean regarding success of... | 1 |
{'name': 'generate_string_HP@random_search.py', 'description': 'Chooses from one of the choices in `choices`.\n ', 'signature': 'def generate_string_HP(choices):'}</s>{'name': 'generate_real_power_HP@random_search.py', 'description': 'Generates continuous vals in range (base^minVal, base^maxVal).\n ', 'code': 'de... | 0 |
{'name': 'PoolerEndLogits.forward@albert/albert_zh/modeling_utils.py', 'description': 'Args:\nOne of ``start_states``, ``start_positions`` should be not None.\nIf both are set, ``start_positions`` overrides ``start_states``.\n\n**start_states**: ``torch.LongTensor`` of shape identical to hidden_states\n hidden state... | 0 |
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>PY34 = sys.version_info[0:2] >= (3, 4) | 0 |
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'ValidHour@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['V... | 0 |
{'name': 'Flask.run@SneakerBot 2019/venv/lib/python3.7/site-packages/flask/app.py', 'description': "Runs the application on a local development server.\n\nDo not use ``run()`` in a production setting. It is not intended to\nmeet security and performance requirements for a production server.\nInstead, see :ref:`deployme... | 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': 'split_imageset@ldm/modules/image_degradation/utils_image.py', 'description': 'split the large images from original_dataroot into small overlapped images with size (p_size)x(p_size),\nand save them into taget_dataroot; only the images with larger size than (p_max)x(p_max)\nwill be splitted.\nArgs:\n origina... | 0 |
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_INQUIRY = 1074 | 0 |
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>{'name': 'DownloadError@ytmdl/exceptions.py', 'description': 'Exception for download error.\n\nThis exception is solely for those cases when\nthe download fails for some reason.', 'base_classes': ['Exception'], 'met... | 1 |
{'name': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<... | 0 |
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQOO_CO_OP = 131072 | 0 |
{'name': 'PolicyNetwork.evaluate@td3.py', 'description': 'generate action with state as input wrt the policy network, for calculating gradients', 'signature': 'def evaluate(self, state, deterministic, eval_noise_scale, epsilon=1e-6):'}</s>hidden_dim = 512 | 0 |
{'name': 'test_basic_spacy@tests/test_text.py', 'description': 'Check correct dimensions and repr for spaCyEncoder.', 'signature': 'def test_basic_spacy(setting, nlp):'}</s>{'name': 'spaCyEncoder@embetter/text/_spacy.py', 'description': '**Usage**\n\n```python\nimport pandas as pd\nfrom sklearn.pipeline import make_pip... | 1 |
{'name': 'discover_saml_provider@aws-inventory/lambda/inventory-iam.py', 'description': "Queries AWS to determine SAML Providers exist (and who you're trusting)", 'signature': 'def discover_saml_provider(account):'}</s>{'name': 'discover_users@aws-inventory/lambda/inventory-iam.py', 'description': 'Queries AWS to deter... | 0 |
{'name': 'main@bin/train_model.py', 'description': 'Main block of code, which runs the training', 'signature': 'def main():'}</s>{'name': 'Preprocessor@bff_positioning/data/data_preprocessing.py', 'description': 'Reads a pre-processed binary file (see README) into a pretty numpy array, which can be\nfeed to a ML model.... | 1 |
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na... | 0 |
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>BPF_MAP_TYPE_LRU_PERCPU_HASH = 10 | 1 |
{'name': 'test_can_resolve_a_chain_of_dependencies@tests/test_chain_dependencies.py', 'description': "In this test we construct a chain of responsibility\nthat's managed by the container. When we invoke the chain\neach element of the chain is provided with its onward\ndependencies.", 'signature': 'def test_can_resolve_... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.