text string | label int64 |
|---|---|
{'name': 'warp@utilities.py', 'description': 'warp an image/tensor (im2) back to im1, according to the optical flow\nx: [B, C, H, W] (im2)\nflo: [B, 2, H, W] flow', 'signature': 'def warp(x, flo):'}</s>GAMMA = 0.03 | 0 |
{'name': 'create_svg@examples/ltattrie/tenticles.py', 'description': 'Create many circles in a curling tentril fashion.', 'signature': 'def create_svg(name):'}</s>{'name': 'tendrile@examples/ltattrie/tenticles.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'tendrile.__init__@examples/ltattrie... | 1 |
{'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': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 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>panel_destroy = dvz.dvz_panel_destro... | 0 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'GroupEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Returns an encoder for a group ... | 0 |
{'name': 'Imagenet100DataModule.setup@fhmap/factory/dataset.py', 'description': 'Assign test dataset', 'signature': 'def setup(self, stage=None, *args, **kwargs) -> None:'}</s>{'name': 'AddFourierNoise@fhmap/fourier/noise.py', 'description': "Add Fourier noise to RGB channels respectively.\nThis class is able to use as... | 0 |
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'predict_token@experiments/causal_trace.py', 'descri... | 0 |
{'name': 'parseOptionsAndInitTestdirs@tools/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>compiler =... | 1 |
{'name': 'open_pipe@pypsexec/pipe.py', 'description': "Opened the requested pipe with the access mask specified. Will attempt\nto connect 3 times before failing in case the pipe's don't exist at the\ntime.\n\n:param tree: The SMB TreeConnect of IPC$ to connect to\n:param name: The name of the pipe to connect to\n:param... | 1 |
{'name': 'TestCountingCuckooFilter.test_c_cuckoo_filter_remove@tests/countingcuckoo_test.py', 'description': 'test removing from the counting cuckoo filter', 'signature': 'def test_c_cuckoo_filter_remove(self):'}</s>{'name': 'CountingCuckooFilter@probables/cuckoo/countingcuckoo.py', 'description': 'Simple Counting Cuck... | 1 |
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'Email@voluptuous/validators.py', 'description': 'Verify that the value is an email address or not.\n\n>>> s = Schema(Email())\n... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZID_INSERT_NAME = 3 | 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': 'AGraph.to_string@pygraphviz/agraph.py', 'description': 'Return a string representation of graph in dot format.\n\n`to_string()` uses "agwrite" to produce "dot" format w/o rendering.\nThe function `string_nop()` layouts with "nop" and renders to "dot".', 'signature': 'def to_string(self):'}</s>{'name': 'agfste... | 0 |
{'name': 'Constraint.lhs@linopy/constraints.py', 'description': 'Get the left-hand-side linear expression of the constraint.\n\nThe function raises an error in case no model is set as a\nreference.', 'signature': 'def lhs(self) -> expressions.LinearExpression:'}</s>ExpressionLike = Union[
"ScalarLinearExpression",
... | 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': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_NONAT = 5 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_NEGATIVE_LENGTH = 6117 | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'UNetModel.convert_to_fp16@ldm/modules/diffusionmodules/openaimodel.py', 'description': 'Convert the torso of the model to float16.', 'signature': 'def convert_to_fp16(self):'}</s>{'name': 'checkpoint@ldm/modules/diffusionmodules/util.py', 'description': 'Evaluate a function without caching intermediate activa... | 0 |
{'name': 'UE4Binary@client/python/unrealcv/automation.py', 'description': "Return a platform-dependent binary for user.\n\nExamples\n--------\n>>> binary = UE4Binary('./WindowsNoEditor/RealisticRendering.exe') # For windows\n>>> binary = UE4Binary('./LinuxNoEditor/RealisticRendering/Binaries/RealisticRendering') # For... | 0 |
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>admin_sid = run_dir + "/sid.txt" | 0 |
{'name': 'DropDown.GenerateCommand@gmacpyutil/gmacpyutil/cocoadialog.py', 'description': 'Class specific additions.', 'signature': 'def GenerateCommand(self):'}</s>_CD = '%s/Contents/MacOS/CocoaDialog' % _CD_APP | 0 |
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi... | 1 |
{'name': 'IopyIopEnvironmentTests.test_iop_env_isolation@tests/iopy/z_iopy.py', 'description': 'Test IOP environment isolation', 'signature': 'def test_iop_env_isolation(self) -> None:'}</s>{'name': 'IopyTest@tests/iopy/z_iopy.py', 'description': 'DOCSTRING', 'base_classes': ['z.TestCase'], 'methods': [{'name': 'IopyTe... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_MONITOR_KB = 1024 | 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': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 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>MQEXTATTRS_ALL = 0 | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_MEM_READ_64 = (FMT_4DW, 0x00) | 1 |
{'name': 'MQTTBaseProtocol._checkConnect@src/mqtt/client/base.py', 'description': 'Assert connect parameters', 'signature': 'def _checkConnect(self, request):'}</s>{'name': 'PUBACK@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'PUBACK.__init__@src/mqtt/pdu.py', 'descript... | 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>KEY_F18 = 307 | 0 |
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFOP_EXCLUDES = 13 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_LDAP_USER_OBJECT_CLASS = 2128 | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFTM_PURGE = 21 | 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': 'assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence to PSMs, peptides, and optionally proteins.\n\nParameters\n----------\ndatasets : list[PsmDataset]\n A collection of PSMs.\nscores_list : list[numpy.ndarray[float]] | None, optional\n The scores by which to rank the PSMs. Usuall... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_CF_RECAUTO = 244 | 0 |
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa... | 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>MQCACF_TO_Q_NAME = 3002 | 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': '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': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': 'SubPixel1D@src/models/layers/subpixel.py', 'description': 'One-dimensional subpixel upsampling layer\n\nCalls a tensorflow function that directly implements this functionality.\nWe assume input has dim (batch, width, r)', 'signature': 'def SubPixel1D(I, r):'}</s>{'name': 'SubPixel1D_v2@src/models/layers/subpi... | 0 |
{'name': 'build_transformer_model@bert4keras/models.py', 'description': '根据配置文件构建模型,可选加载checkpoint权重\n ', 'signature': 'def build_transformer_model('}</s>{'name': 'RoFormer@bert4keras/models.py', 'description': '旋转式位置编码的BERT模型\n链接:https://kexue.fm/archives/8265', 'base_classes': ['NEZHA'], 'methods': [{'name': 'RoFo... | 1 |
{'name': 'Normalizer.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Normalizer with an optional custom list of :class:`~molvs.normalize.Normalization` transforms.\n\n:param normalizations: A list of :class:`~molvs.normalize.Normalization` transforms to apply.\n:param int max_restarts:... | 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': 'remove_path_segments@furl/furl.py', 'description': "Removes the path segments of <remove> from the end of the path\nsegments <segments>.\n\nExamples:\n # ('/a/b/c', 'b/c') -> '/a/'\n remove_path_segments(['','a','b','c'], ['b','c']) == ['','a','']\n # ('/a/b/c', '/b/c') -> '/a'\n remove_path_segments(['',... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_PASS_TICKET_APPL_LENGTH = 8 | 0 |
{'name': 'docs@tasks.py', 'description': 'Generate documentation', 'signature': 'def docs(c):'}</s>PYTHON_DIRS = [str(d) for d in [SOURCE_DIR, TEST_DIR]] | 0 |
{'name': 'updateDocumentToCMain@third_party/Catch2/scripts/updateDocumentToC.py', 'description': 'Add or update table of contents to specified paths.', 'signature': 'def updateDocumentToCMain():'}</s>{'name': 'isReleaseNotes@third_party/Catch2/scripts/updateDocumentToC.py', 'description': 'DOCSTRING', 'code': 'def isRe... | 0 |
{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to determine Versioneer config.', 'signature': 'def get_config_from_root(root):'}</s>CONFIG_ERROR = "
setup.cfg is missing the necessary Versioneer configuration. You need
a section like:
[versioneer]
VCS = git
style = pe... | 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': 'AnomalyFinder.run@src/SentinelUtilities/SentinelAnomalyLookup/anomaly_finder.py', 'description': 'Main function for Anomaly Lookup ', 'signature': 'def run(self, q_timestamp, q_entity, tables):'}</s>{'name': 'AnomalyFinder@src/SentinelUtilities/SentinelAnomalyLookup/anomaly_finder.py', 'description': 'This cl... | 1 |
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'HexdumpWordCommand@gef.py', 'description': 'Display 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSECSW_ON_NOT_FOUND = 24 | 0 |
{'name': 'entry_now@toggl/cli/commands.py', 'description': "Manages currently running entry.\n\nWithout any options the command fetches the current time entry and displays it. But it also supports modification\nof the current time entry through the options listed below.\n\nTags can be modified either in a way of specif... | 0 |
{'name': 'Hashing._array_to_hash@imagededup/methods/hashing.py', 'description': 'Convert a matrix of binary numerals to 64 character hash.\n\nArgs:\n hash_mat: A numpy array consisting of 0/1 values.\n\nReturns:\n An hexadecimal hash string.', 'signature': 'def _array_to_hash(hash_mat: np.ndarray) -> str:'}</s>{'... | 1 |
{'name': 'StdCmd@MRT_FUNC_PY4_influxDB.py', 'description': 'Use instead of writing ser.write all the time', 'signature': 'def StdCmd(ser,cmd):'}</s>{'name': 'readStream@MRT_FUNC_PY4_influxDB.py', 'description': 'Generalize read_data to read an arbitrary list ', 'code': 'def readStream(ser):\n """ Generalize read_dat... | 0 |
{'name': 'AGraph.clear@pygraphviz/agraph.py', 'description': 'Remove all nodes, edges, and attributes from the graph.', 'signature': 'def clear(self):'}</s>{'name': 'aglstnode@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def aglstnode(g):\n return _graphviz.aglstnode(g)'} | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>duplicates = {} | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': '_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': 'parse_expr@classes/docopt.py', 'description': "expr ::= seq ( '|' seq )* ;", 'signature': 'def parse_expr(tokens, options):'}</s>__version__ = "0.6.1" | 0 |
{'name': 'repl@todoman/cli.py', 'description': 'Start an interactive shell.', 'signature': 'def repl(ctx: click.Context) -> None:'}</s>{'name': 'catch_errors@todoman/cli.py', 'description': 'DOCSTRING', 'code': 'def catch_errors(f: Callable[_P, _T]) -> Callable[_P, _T]:\n @functools.wraps(f)\n def wrapper(*a, **k... | 0 |
{'name': 'SyntheticDisplayBase.create_value@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': 'Cast a Python primitive into an LLDB SBValue.', 'signature': 'def create_value('}</s>InternalDict = Dict[str, Any] | 0 |
{'name': 'parse_python_interpreter@onlinejudge_command/subcommand/submit.py', 'description': ':param description: must be for Python', 'signature': 'def parse_python_interpreter(description: str) -> str:'}</s>{'name': 'run@onlinejudge_command/subcommand/submit.py', 'description': ':returns: whether the submission is su... | 0 |
{'name': '_output@source-builder/sb/log.py', 'description': 'Output the text to a log if provided else send it to stdout.', 'signature': 'def _output(text=os.linesep, log=None):'}</s>{'name': 'exit@source-builder/sb/error.py', 'description': 'Raise for to exit.', 'base_classes': ['error'], 'methods': [{'name': 'exit.__... | 0 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>visitor_net = _get_value(_extconf, 'Gateway', 'visitor_net', '::/0, 0.0.0.0/0') | 0 |
{'name': 'HyperVxmJoint.__init__@voxelmorph/tf/networks.py', 'description': "Parameters:\n in_shape: Spatial dimensions of the input images, as an iterable.\n input_model: Model whose outputs will be used as data inputs, and whose inputs will be\n used as inputs to the returned model, as an alternative to ... | 0 |
{'name': 'create_feature_extractor@train/detector/yolo/backend/utils/feature.py', 'description': '# Args\n architecture : str\n input_size : int\n\n# Returns\n feature_extractor : BaseFeatureExtractor instance', 'signature': 'def create_feature_extractor(architecture, input_size, weights=None, strip_size = 32)... | 1 |
{'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': 'ancestors@rest_models/backend/compiler.py', 'description': 'generator the return the list of ancestors of an alias\n:param alias:\n:return:', 'signature': 'def ancestors(alias):'}</s>{'name': 'QueryParser@rest_models/backend/compiler.py', 'description': 'an object helper that parse a attached query to return ... | 0 |
{'name': 'run_cmp_results@llvm-project/clang/utils/analyzer/SATestBuild.py', 'description': 'Compare the warnings produced by scan-build.\nstrictness defines the success criteria for the test:\n 0 - success if there are no crashes or analyzer failure.\n 1 - success if there are no difference in the number of reported... | 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_ADD = CScriptOp(0x93) | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>_escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][... | 0 |
{'name': 'Countries.alpha2@django_countries/__init__.py', 'description': 'Return the normalized country code when passed any type of ISO 3166-1\ncountry code.\n\nOverridden countries objects may actually have country codes that are\nnot two characters (for example, "GB-WLS"), so the returned length of\nthe code is not ... | 1 |
{'name': 'create_test_gitlab@tests/gitlab_test_utils.py', 'description': 'Creates a test GitlabTree instance with mocked data', 'signature': 'def create_test_gitlab(monkeypatch: pytest.MonkeyPatch, '}</s>{'name': 'NoAuthProvider@gitlabber/auth.py', 'description': 'Authentication provider that performs no authentication... | 0 |
{'name': 'compute_ap@yolov3/utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rbgirshick/py-faster-rcnn.\n# Arguments\n recall: The recall curve (list).\n precision: The precision curve (list).\n# Returns\n The average precisio... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_CONNECTION = 85 | 0 |
{'name': 'TestCondensedGraphOfReactionFeaturizer.test_calc_node_feature_matrix_shape@tests/unit/featurizers/test_cgr.py', 'description': 'Test that the calc_node_feature_matrix method returns the correct node feature matrix.', 'signature': 'def test_calc_node_feature_matrix_shape(self, rxn_smi, mode_name):'}</s>rxn_smi... | 0 |
{'name': 'BytesMzml.__init__@pymzml/file_classes/bytesMzml.py', 'description': 'Initalize Wrapper object for standard mzML files.\n\nArguments:\n path (str) : path to the file\n encoding (str) : encoding of the file', 'signature': 'def __init__(self, binary, encoding, build_index_from_scratch=False):'}</s>CHR... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIACF_BUFFER_LENGTH = 1374 | 0 |
{'name': 'inf_generator@experiments/baseline_models/latent_ode_lib/utils.py', 'description': 'Allows training with DataLoaders in a single infinite loop:\nfor i, (x, y) in enumerate(inf_generator(train_loader)):', 'signature': 'def inf_generator(iterable):'}</s>{'name': 'split_and_subsample_batch@experiments/baseline_m... | 0 |
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a l... | 1 |
{'name': 'make_game@reversibility/pycolab/pycolab/examples/warehouse_manager.py', 'description': 'Builds and returns a Warehouse Manager game for the selected level.', 'signature': 'def make_game(level):'}</s>{'name': 'ObservationToArray@reversibility/pycolab/pycolab/rendering.py', 'description': 'Convert an `Observati... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>SAMPLE_CONFIG = "
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit th... | 0 |
{'name': 'ws2812.show@luma/led_matrix/device.py', 'description': 'Simulates switching the display mode ON; this is achieved by restoring\nthe contrast to the level prior to the last time hide() was called.', 'signature': 'def show(self):'}</s>{'name': 'neosegment@luma/led_matrix/device.py', 'description': "Extends the ... | 0 |
{'name': 'lock_and_run@src/zfs_tools/zflock.py', 'description': 'Attempt to lock filesystem and run command, return whether we did.', 'signature': 'def lock_and_run(filesystem, command, options):'}</s>{'name': 'list_locks@src/zfs_tools/zflock.py', 'description': 'DOCSTRING', 'code': 'def list_locks(options):\n for d... | 0 |
{'name': 'build_pspnet_ade20k_prior@model_util/pspnet/layers_builder.py', 'description': 'Build PSPNet.', 'signature': "def build_pspnet_ade20k_prior(nb_classes, inputs, activation='softmax', is_training=True):"}</s>{'name': 'ZeroPadding2D_symmetric@model_util/pspnet/layers_utils.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'misconception_model_2@classification/models/layers.py', 'description': 'A misconception tower.\n\nArgs:\n input: a tensor of size [batch_size, 1, width, depth].\n window_size: the width of the conv and pooling filters to apply.\n depth: the depth of the output tensor.\n levels: the height of the tower in ... | 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': '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': 'Encoder.__init__@espnet/nets/pytorch_backend/transformer/encoder.py', 'description': 'Construct an Encoder object.', 'signature': 'def __init__('}</s>{'name': 'EncoderLayer@espnet/nets/pytorch_backend/transformer/encoder_layer.py', 'description': "Encoder layer module.\n\n:param int size: input dim\n:param es... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.