text
string
label
int64
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_update_mask_type@object_detection/utils/config_util.py', 'descri...
0
{'name': 'analyze_timer_frame@analyze.py', 'description': 'analyze frame to find timer name\n\nanalyze timer roi and find best match time\nmin, 10 sec, 1sec values search\n\nArgs\n frame (ndarray): edited frame from movie\n roi (list): search roi\n data_num (int): number of digits\n time_data (string): now ...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_GET_CLR_CNTR = 1
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>{'name': 'get_mid2templateords@ankipandas/raw.py', 'description':...
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>CSR_MHPMCOUNTER5H = 2949
0
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
1
{'name': 'find_offset_byte_line@paper2remarkable/crop.py', 'description': 'Find index of first nonzero bit in a line of bytes\n\nThe given line is a string of bytes, each representing 8 pixels. This code\nfinds the index of the first bit that is not zero. Used when finding the\ncropbox with pdftoppm.', 'signature': 'de...
0
{'name': 'arcball_map_to_sphere@DenseFusion/lib/transformations.py', 'description': 'Return unit sphere coordinates from window coordinates.', 'signature': 'def arcball_map_to_sphere(point, center, radius):'}</s>{'name': 'is_same_quaternion@DenseFusion/lib/transformations.py', 'description': 'Return True if two quatern...
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': 'SameDocumentReference@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_c...
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': 'test_directory_content@test/test_read_data.py', 'description': 'Test that read_csv_data function reads content correctly from a directory', 'signature': 'def test_directory_content(csv_data_dir):'}</s>{'name': 'test_get_reader_file_mode@test/test_read_data.py', 'description': "Test for getting a 'CsvReader' o...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'git_ls_local@airflow_code_editor/git.py', 'description': "'git ls-tree' like output for local folders", 'signature': 'def git_ls_local(git_args: List[str]) -> str:'}</s>HTTP_404_NOT_FOUND = 404
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>{'name': 'MidiStatus@robopianist/viewer/application.py', 'description': 'MIDI-related status information.', 'base_classes': ['views....
1
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra...
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': 'load_existing_model@models/utils.py', 'description': "Load an existing model from disk based on the provided metadata.\n\nArgs:\n model_metadata (dict): Metadata dictionary containing information about the model.\n dataset (torchvision.datasets): Dataset object used to instantiate the model.\n device...
0
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>node = run_dir + "/node.txt"
1
{'name': '_AdbIOManager.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\n1. Use the transport to establish a connection\n2. Send a ``b'CNXN'`` message\n3. Read the response from the device\n4. If ``cmd`` is not ``b'AUTH'``, then authentication is not necesary and so we are...
1
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_TCPS_PROXY_SRC = TCP_NSTATES + 0
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': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': 'records2df@meza/convert.py', 'description': "Converts records into either...
0
{'name': 'AutoUnit.step_lr_scheduler@torchtnt/framework/auto_unit.py', 'description': 'LR step method extracted to a method in case the user wants to override', 'signature': 'def step_lr_scheduler(self) -> None:'}</s>{'name': 'prepare_fsdp@torchtnt/utils/prepare_module.py', 'description': 'Utility to move a module to d...
0
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'trim3prime@amptk/amptklib.py', 'description': 'DOCSTRING', 'c...
0
{'name': 'get_world_to_normalized_transform@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Compute transform that translates and rotates annulus points to a normalized position and\norientataion so that:\n- landmarks' centroid is translated into the origin\n- landmark0->landmark2 g...
0
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>{'name': 'get_data_dir@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def get_data_dir() -> Path:\n if get_is_portable_mode():\...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'transform_concepts@skosify/skosify.py', 'description': 'Transform Concepts into new types, as defined by the config file.', 'signature': 'def transform_concepts(rdf, typemap):'}</s>{'name': 'infer_broader_narrower@skosify/skosify.py', 'description': 'DOCSTRING', 'code': 'def infer_broader_narrower(rdf):\n ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_SUBSCRIPTION_DELETE = 2580
0
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': 'getDefaultColorL...
0
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>sugtag = run_dir + "/sugtag.txt"
0
{'name': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>API_ERRORS = { "0102": NotLoggedInError, "0106": NotConnectedError, "0100": FailedRequestError, "0110": AgreementError, ...
0
{'name': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEPH_CURRENT_VERSION = 1
0
{'name': 'ObjCDataFormatterTestCase.plain_data_formatter_commands@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py', 'description': 'Test basic ObjC formatting behavior.', 'signature': 'def plain_data_formatter_commands(self):'}</s>{'name': 'builder_module@...
0
{'name': 'do_release@extra/release_tool.py', 'description': 'Handles the interactive menu for doing a release.', 'signature': 'def do_release(release_state_file, args):'}</s>{'name': 'find_prev_version@extra/release_tool.py', 'description': 'Finds the highest version in tag_list which is less than version.\ntag_list is...
0
{'name': 'AGraph.remove_node@pygraphviz/agraph.py', 'description': 'Remove the single node n.\n\nAttempting to remove a node that isn\'t in the graph will produce\nan error.\n\n>>> import pygraphviz as pgv\n>>> G = pgv.AGraph()\n>>> G.add_node("a")\n>>> G.remove_node("a")', 'signature': 'def remove_node(self, n):'}</s>...
0
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'get_subclasses@didyoumean/didyoumean_internal.py', 'description': 'Get the subcla...
0
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>app = AppStack()
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'plus_or_dot@versioneer.py', 'description': "Return a + if we don't already have one, else return a .", 'code': 'def plus_or_dot(pieces):\n """Re...
0
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>{'name': 'escape_quotes@ytmdl/stringutils.py', 'description': 'DOCSTRING', 'code': 'def escape...
0
{'name': 'run@examples/python/learning_pytorch.py', 'description': 'Run num epochs of training episodes.\nSkip frame_repeat number of frames after each action.', 'signature': 'def run(game, agent, actions, num_epochs, frame_repeat, steps_per_epoch=2000):'}</s>test_episodes_per_epoch = 100
0
{'name': 'JSONDecoder.__init__@simplejson/decoder.py', 'description': "*encoding* determines the encoding used to interpret any\n:class:`str` objects decoded by this instance (``'utf-8'`` by\ndefault). It has no effect when decoding :class:`unicode` objects.\n\nNote that currently only encodings that are a superset of...
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>quote = """
0
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': 'uploadRecursiveToStorage@BlendNet/providers/aws/__init__.py', 'description': 'Recursively upload files to the storage', 'code': 'def ...
0
{'name': 'TestDb.test_get_user_returns_existing_user@src/accounts/userservice/tests/test_db.py', 'description': 'test getting a user', 'signature': 'def test_get_user_returns_existing_user(self):'}</s>EXAMPLE_USER = { 'accountid': '123', 'username': 'jdoe', 'passhash': b'hjfsrf#jrsfj', 'firstname': 'Joh...
1
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>RE_NTH = re.compile( r'(?P<s1>[-+])?(?P<a>[0-9]+n?|n)(?:(?<=n){ws}*(?P<s2...
0
{'name': 'start_torchserve@src/sagemaker_pytorch_serving_container/torchserve.py', 'description': 'Configure and start the model server.\n\nArgs:\n handler_service (str): Python path pointing to a module that defines\n a class with the following:\n\n - A ``handle`` method, which is invoked for all ...
1
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'manage_auth_already_associated@django_unifi_portal/pipeline.py', 'description': 'OVERRIDED: It will logout the current user\ninstead of raise an exception\n\nFix to resolve AuthAlreadyAssociated Exception in Python Social Auth:\n http://stackoverflow.com/questions/13018147/authalreadyassociated-exception-in-d...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_INT_ATTR_COUNT_TOO_SMALL = 2022
0
{'name': 'update_subscription_for_repo@onedrive_client/od_main.py', 'description': ':param onedrive_client.od_repo.OneDriveLocalRepository repo:\n:param str | None subscription_id:\n:return onedrivesdk.Subscription | None:', 'signature': 'def update_subscription_for_repo(repo, subscription_id=None):'}</s>{'name': 'gen_...
0
{'name': 'MarkChecker.check_get_text_tokenless@tests/tools.py', 'description': 'Check that `text` (returned from get_text()) usually returns the same text\nwhether from `ASTTokens` or `ASTText`.', 'signature': 'def check_get_text_tokenless(self, node, test_case, text):'}</s>{'name': 'match_token@asttokens/util.py', 'de...
0
{'name': 'create_autospec@Contents/Libraries/Shared/mock.py', 'description': "Create a mock object using another object as a spec. Attributes on the\nmock will use the corresponding attribute on the `spec` object as their\nspec.\n\nFunctions or methods being mocked will have their arguments checked\nto check that they ...
1
{'name': 'Author.__init__@rep0/rep.py', 'description': 'Parse the name and email address of an author.', 'signature': 'def __init__(self, author_and_email_tuple):'}</s>footer = " Local Variables: mode: indented-text indent-tabs-mode: nil sentence-end-double-space: t fill-column: 70 coding: utf-8 End:"
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>_ASSOC_OPS = frozenset({ Z3_OP_BOR, Z3...
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_CHECKLOCKTIMEVERIFY = CScriptOp(0xb1)
0
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ...
0
{'name': '_makeTags@tests/_lib_vendors/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>{'name': 'replaceWith@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'He...
0
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ...
0
{'name': 'test_dt_import_missing_temporary@elpis/transformer/test_transformer.py', 'description': 'Raise an error if the temporary directory given does not exist.', 'signature': 'def test_dt_import_missing_temporary(tdtaf, tmpdir):'}</s>{'name': 'test_factory_import_setting_same_field_name@elpis/transformer/test_transf...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul...
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': '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': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'gaussian_at_fwhm@src/python_scripts/afnipy/afni_util.py', 'description': 'gaussian_at_fwhm(x, fwhm):\n\nreturn...
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': 'Window.at@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'Returns (window, offset) for given handle on window', 'signature': 'def at(self, handle):'}</s>{'name': 'WidgetTestCase@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.TestCase'], 'methods': [{...
0
{'name': 'TestModel.test_simple@tests/test_models.py', 'description': "Tests if Field behaves just like Django's ImageField.", 'signature': 'def test_simple(self, db):'}</s>FIXTURES = [ ("100.gif", "GIF", 100, 100), ("600x400.gif", "GIF", 600, 400), ("600x400.jpg", "JPEG", 600, 400), ("600x400.jpg", "PN...
0
{'name': 'PintArray.value_counts@pint_pandas/pint_array.py', 'description': "Returns a Series containing counts of each category.\n\nEvery category will have an entry, even those with a count of 0.\n\nParameters\n----------\ndropna : boolean, default True\n Don't include counts of NaN.\n\nReturns\n-------\ncounts : ...
0
{'name': 'Camera.addLandmarkInformationGPS@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel p...
0
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(a...
0
{'name': 'Praetorian._validate_jwt_data@flask_praetorian/base.py', 'description': 'Validates that the data for a jwt token is valid', 'signature': 'def _validate_jwt_data(self, data, access_type):'}</s>DEFAULT_HASH_SCHEME = "pbkdf2_sha512"
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.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': 'eran_resnet_dense@tf_verify/eranlayers.py', 'description': "Adds a specified number of dense layers to the graph. Each layer maps to the same number of neurons as inputs has. If inputs doesn't have a fitting shape it will be reshaped.\nAdditionally there will be an add connection. The information in inputs wi...
1
{'name': 'test_org_admin_get_mitre_org@test-http/src/test/org_user_tests/org_as_org_admin.py', 'description': 'services api rejects requests for secretariat by non-secretariat users ', 'signature': 'def test_org_admin_get_mitre_org(org_admin_headers):'}</s>AWG_USER_NAME = os.environ.get('AWG_USER_NAME')
0
{'name': 'ParseArguments@third_party/cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{...
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': 'seq2@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def seq2(header, args, i=4, lp="(", rp=")"):\n if...
0
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>{'name': 'get_absolute@src/attributeco...
0
{'name': 'get_logger_config@logme/utils.py', 'description': "Get logger config as dictionary\n\n:param caller_file_path: file path of the caller, __file__\n:param name: the name(section in logme.ini) of the config to be passed. (optional, default: 'logme')\n\n:return: logger configuration dictionary\n:raises: InvalidCo...
0
{'name': 'cmpIdx@astviewer/tree.py', 'description': 'Returns negative if idx0 < idx1, zero if idx0 == idx1 and strictly positive if idx0 > idx1.\n\nIf an idx0 or idx1 equals -1 or None, it is interpreted as the last element in a list\nand thus larger than a positive integer\n\n:param idx0: positive int, -1 or None\n:pa...
0
{'name': 'CursesDisplayManager.SIGWINCH_Handler@dftimewolf/cli/curses_display_manager.py', 'description': 'Redraw the window when SIGWINCH is raised.', 'signature': 'def SIGWINCH_Handler(self, *unused_argvs: Any) -> None:'}</s>{'name': '_ModuleThread@dftimewolf/cli/curses_display_manager.py', 'description': 'DOCSTRING'...
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': 'Circuit.eval@discopy/quantum/circuit.py', 'description': "Evaluate a circuit on a backend, or simulate it with numpy.\n\nParameters\n----------\nothers : :class:`discopy.quantum.circuit.Circuit`\n Other circuits to process in batch.\nbackend : pytket.Backend, optional\n Backend on which to run the circu...
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': 'configure_via_file@isi_data_insights_config.py', 'description': "Configure the daemon's stat groups and the stats processor via command line\narguments and configuration file. The command line args override settings\nprovided in the config file.", 'signature': 'def configure_via_file(daemon, args, config_file...
1
{'name': 'get_reg_tx_type@hw/vendor/lowrisc_opentitan/util/reggen/gen_rtl.py', 'description': 'Get the name of the hw2reg or reg2hw type for reg', 'signature': 'def get_reg_tx_type(block: IpBlock, reg: RegBase, hw2reg: bool) -> str:'}</s>{'name': 'Register@hw/vendor/lowrisc_opentitan/util/reggen/register.py', 'descript...
1
{'name': 'collect_oracle_results_at_res@mseg_semantic/scripts/collect_results.py', 'description': 'For all test datasets (except WildDash), aggregate the results of the corresponding\noracle models at a specific evaluation resolution (from resolution-specific .txt files in subfolders).\n\nArgs:\n resolution: either ...
0
{'name': 'PythonTypeObjectFunctionPrototype.GetDescription@yaldevtools/source_code.py', 'description': 'Retrieves the description.\n\nReturns:\n list[str]: lines of the description.', 'signature': 'def GetDescription(self):'}</s>DATA_TYPE_OFF64 = "off64"
0
{'name': 'GaussianDiffusion.p_mean_variance@src/modeling/diffusion/gaussian_diffusion.py', 'description': "Apply the model to get p(x_{t-1} | x_t), as well as a prediction of\nthe initial x, x_0.\n\n:param model: the model, which takes a signal and a batch of timesteps\n as input.\n:param x: the [N x C x ....
1
{'name': 'AGraph.successors_iter@pygraphviz/agraph.py', 'description': 'Return iterator over successor nodes of n.\n\nNote: modifying the graph structure while iterating over\nnode successors may produce unpredictable results. Use\nsuccessors() as an alternative.', 'signature': 'def successors_iter(self, n):'}</s>{'na...
0
{'name': 'Chapter.text@AO3/chapters.py', 'description': "This chapter's text", 'signature': 'def text(self):'}</s>{'name': 'ThreadPool@AO3/threadable.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'ThreadPool.__init__@AO3/threadable.py', 'description': 'DOCSTRING', 'code': 'def __init__(self,...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>NORTHWEST = [72]
0
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys...
0
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'render_updatenodes@src/server/server.py', 'description': 'Route to update nodes page.', 'code': "def render_updatenodes():\n '''Route to update nodes page.'''\n ...
0
{'name': 'scnym_api@scnym/api.py', 'description': 'scNym: Semi-supervised adversarial neural networks for\nsingle cell classification [Kimmel2020]_.\n\nscNym is a cell identity classifier that transfers annotations from one\nsingle cell experiment to another. The model is implemented as a neural\nnetwork that employs M...
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