text
string
label
int64
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'populate_translation_fields@modeltranslation/translator.py', 'description': 'When models are created or loaded from fixtures, replicates values\nprovided for translatable fields to some / all empty translation fields,\naccording to the current population mode.\n\nPopulation is performed only on keys (field na...
0
{'name': '_BlankLineCalculator._SetBlankLinesBetweenCommentAndClassFunc@tools/yapf/yapf/yapflib/blank_line_calculator.py', 'description': 'Set the number of blanks between a comment and class or func definition.\n\nClass and function definitions have leading comments as children of the\nclassdef and functdef nodes.\n\n...
0
{'name': 'MatchListener.exitObservationExpressionStartStop@stix2matcher/matcher.py', 'description': 'Consumes (1) a time interval as a pair of datetime.datetime objects,\n and (2) a generator of bindings.\nProduces a generator of bindings which are temporally filtered according\n to the given time interval. A bindin...
0
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to cal...
0
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'afni_prefix@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': "def afni_prefix(names):\n...
0
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or None.', ...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'get_qualified_symbol_at_point@sublime_haskell_common.py', 'description': 'DOCST...
0
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_GROUP_ADDRESS_LENGTH = 264
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_dlgret_yes = ...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': '__gef_prompt__@gef.py', 'description': 'GEF custom prompt function.', 'code': 'def __gef_prompt__(current_prompt: Callable[[Callable], str]) -> str:\n """GEF custom promp...
0
{'name': 'init@beeline/__init__.py', 'description': 'initialize the honeycomb beeline. This will initialize a libhoney\nclient local to this module, and a tracer to track traces and spans.\n\nArgs:\n- `writekey`: the authorization key for your team on Honeycomb. Find your team\n write key at [https://ui.honeycom...
0
{'name': 'mach_o_change@bootstrap.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'make_relative_path@bootstrap.py', 'description': "Make a filenam...
0
{'name': 'PuzzlePosition._calculate_candidate_moves@puzzlemaker/puzzle_position.py', 'description': 'Find the best move from board position using multipv 3\n ', 'signature': 'def _calculate_candidate_moves(self, depth):'}</s>{'name': 'ambiguous_best_move@puzzlemaker/analysis.py', 'description': "Looks at a list ...
0
{'name': 'LpAffineExpression.asCplexVariablesOnly@pulp/pulp.py', 'description': 'helper for asCplexLpAffineExpression', 'signature': 'def asCplexVariablesOnly(self, name: str):'}</s>LpConstraintGE = 1
0
{'name': 'Sheet.set_data@tksheet/sheet.py', 'description': 'e.g.\ndf = pandas.DataFrame([[1, 2, 3], [4, 5, 6]])\nsheet["A1"] = df.values.tolist()\n\njust uses the spans from_r, from_c values\n\n\'data\' parameter could be:\n- list of lists\n- list of values\n- not a list or tuple\n - can have all three of the below ...
0
{'name': 'unsplat@src/parsita/util.py', 'description': 'Convert a function of a single iterable argument into a function of multiple arguments.\n\nArgs:\n f: Any function taking a single iterable argument\n\nReturns:\n A function that accepts multiple arguments. Each argument of this\n function is passed as an...
0
{'name': 'DryerStatus.dry_level@wideq/dryer.py', 'description': 'Get the dry level.', 'signature': 'def dry_level(self) -> DryLevel:'}</s>{'name': 'DryerDevice@wideq/dryer.py', 'description': 'A higher-level interface for a dryer.', 'base_classes': ['Device'], 'methods': [{'name': 'DryerDevice.poll@wideq/dryer.py', 'de...
0
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>{'name': 'crea...
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_memory_set_host_info@language-bindings/python/src/wamr/wasmcapi...
0
{'name': '__rmul__@eemont/image.py', 'description': 'Computes the multiplication between two images.\n\nParameters\n----------\nself : ee.Image\n Right operand.\nother : ee.Image | numeric | list[numeric]\n Left operand. If numeric, an ee.Image is created from its value. If list, an\n ee.Image with n bands (n ...
0
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>init_node = ['node.shingetsu.info:8000/server.cgi']
0
{'name': 'AsyncAHK.start_hotkeys@ahk/_async/engine.py', 'description': 'Start the Autohotkey process for triggering hotkeys', 'signature': 'def start_hotkeys(self) -> None:'}</s>{'name': 'Directive@ahk/directives.py', 'description': "Simple directive class\nThey are designed to be hashable and comparable with string eq...
0
{'name': 'SupportsCredentialsCase.test_credentials_supported@tests/decorator/test_private_network_headers.py', 'description': 'The specified route should return the\nAccess-Control-Allow-Credentials header.', 'signature': 'def test_credentials_supported(self):'}</s>ACL_EXPOSE_HEADERS = "Access-Control-Expose-Headers"
0
{'name': 'inception_v4@Attackset/Iter2_ensv3_resv2_inresv2_random/nets/inception_v4.py', 'description': "Creates the Inception V4 model.\n\nArgs:\n inputs: a 4-D tensor of size [batch_size, height, width, 3].\n num_classes: number of predicted classes.\n is_training: whether is training or not.\n dropout_keep_prob:...
1
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>{'name': 'VersionConflictFound@deb_pkg_tools/checks.py', 'description': 'Raised by :func:`check_version_conf...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_CBS_FAILED = 770
0
{'name': 'cluster_points@brainspace/mesh/mesh_cluster.py', 'description': "Clustering of surface points.\n\nParameters\n----------\nsurf : vtkPolyData or BSPolyData\n Input surface.\nn_clusters : int, optional\n Number of clusters. Default is 100.\nis_size : bool, optional\n If True, interpret `n_clusters` as ...
0
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'when...
0
{'name': 'RFC6979.test_SECP256k1@components/esptool_py/esptool/ecdsa/test_pyecdsa.py', 'description': "RFC doesn't contain test vectors for SECP256k1 used in bitcoin.\nThis vector has been computed by Golang reference implementation instead.", 'signature': 'def test_SECP256k1(self):'}</s>SECP256k1 = Curve("SECP256k1", ...
1
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP6_ECHO_REQUEST = 128
0
{'name': 'MeCab.dictionary@mecab/mecab.py', 'description': 'Returns the currently loaded dictionaries.\n\nReturns:\n A list of `Dictionary` objects representing the dictionaries currently loaded.', 'signature': 'def dictionary(self) -> list[Dictionary]:'}</s>_rcfile_option = ["--rcfile", str(mecabrc_path)]
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>CPL_STATUS_CA = 4
0
{'name': 'IB.placeOrder@ib_insync/ib.py', 'description': 'Place a new order or modify an existing order.\nReturns a Trade that is kept live updated with\nstatus changes, fills, etc.\n\nArgs:\n contract: Contract to use for order.\n order: The order to be placed.', 'signature': 'def placeOrder(self, contract: Cont...
0
{'name': 'GTR._exp_lt@treetime/gtr.py', 'description': 'Parameters\n----------\n\n t : float\n time to propagate\n\nReturns\n--------\n\n exp_lt : numpy.array\n Array of values exp(lambda(i) * t),\n where (i) - alphabet index (the eigenvalue number).', 'signature': 'def _exp_lt(self, t):'}</s>BRANCH_GRID_SIZE_...
0
{'name': 'Frame.render@aiohttp_debugtoolbar/tbtools/tbtools.py', 'description': 'Render a single frame in a traceback.', 'signature': 'def render(self):'}</s>STATIC_ROUTE_NAME = "debugtoolbar.static"
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': 'Migrator.add_column@peewee_moves.py', 'description': 'Add the given column to the given table.\n\n:param table: Table name to add column to.\n:param name: Name of the column field to add.\n:param coltype: Column type (from FIELD_TO_PEEWEE).\n:param kwargs: Arguments for the given column type.\n:return: None',...
0
{'name': 'main@storcli.py', 'description': 'main', 'signature': 'def main(args):'}</s>__doc__ = "Parse StorCLI's JSON output and expose MegaRAID health as Prometheus metrics."
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': 'extend_pandas@ffn/core.py', 'description': "Extends pandas' PandasObject (Series, Series,\nDataFrame) with some functions defined in this file.\n\nThis facilitates common functional composition used in quant\nfinance.\n\nEx:\n prices.to_returns().dropna().calc_clusters()\n (where prices would be a DataF...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
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>PFTM_TCP_FIRST_PACKET = 0
0
{'name': 'CheckRo2@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under RO2\n\nRef.:\n Goldberg, Frederick W., et al.\n Drug Discovery Today 20.1 (2015): 11-17.\n \nRule details:\n MW <= 200\n Logp <= 2\n NHD <= 2\n NHA <= 4\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdc...
0
{'name': 'is_inflow@htmlmin/minify.py', 'description': 'Test whether a NavigableString belongs to a text flow, returns a tuple\nof two booleans describing the flow around the element. The first\nboolean represents the flow before the element, the second boolean\nrepresents the flow after the element.\n\n:param soup: a ...
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'register_ui@exporter/SynthesisFusionAddin/Synthesis.py', 'description': '#### Generic Function to add all UI objects in a simple non destructive way.', 'signature': 'def register_ui() -> None:'}</s>{'name': 'stopMarkingMenu@exporter/SynthesisFusionAddin/src/UI/MarkingMenu.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'make_nodes@tulip/spec/ast.py', 'description': 'Return class with attributes the AST node classes.\n\nThe tree is defined recursively,\nnot with a graph data structure.\n`Tree` is a graph data structure for that purpose.', 'signature': 'def make_nodes('}</s>_logger = logging.getLogger(__name__)
0
{'name': 'DateTimeParser._build_datetime@arrow/parser.py', 'description': 'Build a datetime object from a dictionary of date parts.\n\n:param parts: A dictionary containing the date parts extracted from a date string.\n:type parts: dict\n:return: A datetime object representing the date and time.\n:rtype: datetime.datet...
0
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>ip_ranges_api = "https:/...
0
{'name': 'read_out@mcu/crystal/crystal_io.py', 'description': 'Read prefix.out file', 'signature': 'def read_out(filename):'}</s>f25_DOSS_MATCH = re.compile(r''' [ ]* -\%-(?P<ihferm>\d)DOSS [ ]* (?P<nrow>\d+) [ ]* (?P<ncol>\d+)(?P<dx>[\s\S]{12}?(?=.[ ]|))(?P<dy>[\s\S]{12}?(?=.[ ]|))(?P<efermi>[\s\S]{12}?(?=.[ ]|)) \n...
0
{'name': 'create_yaml@hokusai/commands/review_app.py', 'description': 'create yaml for review app ', 'signature': 'def create_yaml(source_file, app_name):'}</s>{'name': 'edit_namespace@hokusai/commands/review_app.py', 'description': 'edit namespace field for a Kubernetes resource definition ', 'code': "def edit_namespa...
1
{'name': 'frame_handler@amqp/method_framing.py', 'description': 'Create closure that reads frames.', 'signature': 'def frame_handler(connection, callback,'}</s>{'name': 'UnexpectedFrame@amqp/exceptions.py', 'description': 'AMQP Unexpected Frame.', 'base_classes': ['IrrecoverableConnectionError'], 'methods': []}
1
{'name': 'analyze_build@libscanbuild/analyze.py', 'description': 'Entry point for analyze-build command. ', 'signature': 'def analyze_build():'}</s>{'name': 'command_entry_point@libscanbuild/__init__.py', 'description': 'Decorator for command entry methods.\n\nThe decorator initialize/shutdown logging and guard on prog...
0
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>{'name': 'to_bytes@serial/serialutil.py', 'description': 'convert a sequence to a bytes type', 'code': 'def to_bytes(seq):\n """convert a sequence to a bytes type"""\n ...
0
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe...
0
{'name': 'wrap_deepmind@examples/utils/openai/atari_wrappers.py', 'description': 'Configure environment for DeepMind-style Atari.\n ', 'signature': 'def wrap_deepmind(env, episode_life=True, clip_rewards=True, frame_stack=False, scale=False, max_frames=18000):'}</s>{'name': 'TimeLimitEnv@examples/utils/openai/atari_...
1
{'name': 'RTSRoot.restore@rtslib/root.py', 'description': 'Takes a dict generated by dump() and reconfigures the target to match.\nReturns list of non-fatal errors that were encountered.\nWill refuse to restore over an existing configuration unless clear_existing\n is True.', 'signature': 'def restore(self, config, ...
1
{'name': 'get_oauth_user_data@enferno/public/views.py', 'description': 'Get user data from OAuth provider.', 'signature': 'def get_oauth_user_data(blueprint):'}</s>{'name': 'static_from_root@enferno/public/views.py', 'description': 'DOCSTRING', 'code': 'def static_from_root():\n return send_from_directory(public.sta...
0
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ...
0
{'name': '_build_vocab@joeynmt/vocabulary.py', 'description': 'Builds vocabulary either from file or sentences.\n\n:param cfg: data cfg\n:param special_symbols: special symbols\n:param dataset: dataset object which contains preprocessed sentences\n:return: Vocabulary created from either `tokens` or `vocab_file`', 'sign...
1
{'name': 'build_match_function@onlinejudge_command/subcommand/test.py', 'description': "build_match_function builds the function to compare actual outputs and expected outputs.\n\nThis function doesn't any I/O.", 'signature': 'def build_match_function(*, compare_mode: CompareMode, error: Optional[float], judge_command:...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_ATTACH_V...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>APPLY_REMOVED_MSG = "to call the function directly (`apply` is deprecated since Python 2.3, removed since Python 3)...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_StructPackDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for ...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MATCH_C_MV = 32770
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>{'name': 'write_inspirations@code/utils/osg.py', 'description': 'Given an internal dictionary of in...
0
{'name': 'formatSI@ib_insync/util.py', 'description': 'Format the integer or float n to 3 significant digits + SI prefix.', 'signature': 'def formatSI(n: float) -> str:'}</s>{'name': 'barplot@ib_insync/util.py', 'description': 'Create candlestick plot for the given bars. The bars can be given as\na DataFrame or as a li...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_SK_STACK = 1
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>MARKER_SHAPE_SQUARE = 15
0
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature...
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': 'inside_hole@src/character_segmentation.py', 'description': 'Check if a segment has a hole or not', 'signature': 'def inside_hole(word_img, end_idx, start_idx):'}</s>{'name': 'check_hole@src/character_segmentation.py', 'description': 'Check if a segment has a hole or not', 'code': "def check_hole(segment):\n ...
0
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'ResetStmt@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['SimpleStmt'], 'methods': [{'name': 'ResetStmt.__init__@da/compiler/dast.py', 'descri...
0
{'name': 'client_from_url@chembl_webresource_client/new_client.py', 'description': 'Builds a client from an url\n\n:param url: the url you want to get the SPORE schema from\n:param session: the :class:`request.Session` instance to use. Defaults to\n the requests module itself.', 'signature': 'def client_...
0
{'name': 'imfilter2D_FrequencyDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered b...
0
{'name': 'get_url@tools/git_util.py', 'description': 'Returns the origin url for the specified path. ', 'signature': "def get_url(path='.'):"}</s>{'name': 'get_hash@tools/git_util.py', 'description': 'Returns the git hash for the specified branch/tag/hash. ', 'code': 'def get_hash(path=\'.\', branch=\'HEAD\'):\n """ R...
0
{'name': 'NacosClient.subscribe@nacos/client.py', 'description': 'reference at `/nacos/v1/ns/instance/list` in https://nacos.io/zh-cn/docs/open-api.html\n:param listener_fn 监听方法,可以是元组,列表,单个监听方法\n:param listener_interval 监听间隔,在 HTTP 请求 OpenAPI 时间间隔\n:return:', 'signature': 'def subscribe(self,'}</s>DEFAULT...
0
{'name': 'complete@cartridge/shop/views.py', 'description': 'Redirected to once an order is complete - pass the order object\nfor tracking items via Google Anayltics, and displaying in\nthe template if required.', 'signature': 'def complete(request, template="shop/complete.html", extra_context=None):'}</s>CHECKOUT_STEP...
1
{'name': 'IsoDistribution.np_masses@IsoSpecPy/IsoSpecPy.py', 'description': 'Return computed masses as a numpy array.', 'signature': 'def np_masses(self):'}</s>{'name': 'IsoThreshold@IsoSpecPy/IsoSpecPy.py', 'description': 'Initialize the IsoDistribution isotopic distribution by threshold.\n\nArgs:\n threshold (floa...
0
{'name': 'update@aardvark/manage.py', 'description': 'Asks AWS for new Access Advisor information.', 'signature': 'def update(accounts, arns):'}</s>DEFAULT_AARDVARK_ROLE = "Aardvark"
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'train_tree@chapter4/decision_tree_implementation.py', 'description': 'Construction of a tree starts here\n@param X_train: list of training samples (feature)\n@param y_train: list of training samples (target)\n@param max_depth: int, maximal depth of the tree\n@param min_size: int, minimal samples required to f...
1
{'name': 'test@examples/python/learning_pytorch.py', 'description': 'Runs a test_episodes_per_epoch episodes and prints the result', 'signature': 'def test(game, agent):'}</s>model_savefile = "./model-doom.pth"
0
{'name': 'BackupJob.backup@freezer/job.py', 'description': ':type app_mode: freezer.mode.mode.Mode\n:return:', 'signature': 'def backup(self, app_mode):'}</s>{'name': 'BackupOs@freezer/openstack/backup.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'BackupOs.__init__@freezer/openstack...
1
{'name': '_unparsedGroup@metar/Metar.py', 'description': 'Handle otherwise unparseable main-body groups.', 'signature': 'def _unparsedGroup( self, d ):'}</s>{'name': '_report_match@metar/Metar.py', 'description': 'Report success or failure of the given handler function. (DEBUG)', 'code': 'def _report_match(handler,matc...
0
{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as text. Return the content as bytes is\n`as_text` is False.', 'signature': 'def get_local_file_content(path, as_text=True):'}</s>{'name': 'get_license_link_for_filename@etc/scripts/utils_thirdparty.py', 'desc...
0
{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matching defaults, then create an options object to handle the command\nline merging in any command line overrides. Finally post process the\ncommand line.', 'signature': "def loa...
0
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<...
0
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'getProvider@BlendNet/addon.py', 'description': 'Returns the current provider identifier', 'code': "def getProvider():\n '''Returns th...
0
{'name': 'P7M.is_expired@a38/crypto.py', 'description': 'Check if the signature has expired', 'signature': 'def is_expired(self) -> bool:'}</s>{'name': 'Anagrafica@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['FullNameMixin', 'models.Model'], 'methods': []}
0
{'name': 'Serial.reset_output_buffer@serial/serialwin32.py', 'description': 'Clear output buffer, aborting the current output and discarding all\nthat is in the buffer.', 'signature': 'def reset_output_buffer(self):'}</s>DTR_CONTROL_HANDSHAKE = 2
0
{'name': 'MatchedPairsRMSETest.testGeosNotPairedProperly@trimmed_match/design/tests/matched_pairs_rmse_test.py', 'description': 'Checks an error is raised if geos are not paired properly.', 'signature': 'def testGeosNotPairedProperly(self):'}</s>{'name': 'GeoAssignment@trimmed_match/design/common_classes.py', 'descript...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Extsyslogbackupserver@infoblox_client/objects.py', 'description': 'DOCSTRING'...
0