text
string
label
int64
{'name': 'is_resource_modified@blockchain-env/lib/python3.7/site-packages/werkzeug/http.py', 'description': 'Convenience method for conditional requests.\n\n:param environ: the WSGI environment of the request to be checked.\n:param etag: the etag for the response for comparison.\n:param data: or alternatively the data ...
0
{'name': 'handle_backlog@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'submit the next item in the _backlog if it is non-empty or clean up the\n_BACKFILL and _bqlock files.\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n bkt: storage.Buck...
0
{'name': 'main@kb_python/main.py', 'description': 'Command-line entrypoint.\n ', 'signature': 'def main():'}</s>{'name': 'ref_custom@kb_python/ref.py', 'description': 'Generates files necessary for indexing custom targets.\n\nArgs:\n fasta_paths: List of paths to FASTA files from which to extract k-mers\n inde...
0
{'name': 'ParseInstancesMultiZone.setUp@testing/test_parser.py', 'description': 'Setup for each test.\n\n ', 'signature': 'def setUp(self):'}</s>model_path = "SimpleRC"
1
{'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>FILTER_LINEAR = 1
0
{'name': 'QuicGraphicalLassoEBIC.fit@inverse_covariance/quic_graph_lasso.py', 'description': 'Fits the inverse covariance model according to the given training\ndata and parameters.\n\nParameters\n-----------\nX : 2D ndarray, shape (n_features, n_features)\n Input data.\n\nReturns\n-------\nself', 'signature': 'def ...
0
{'name': '_parse_args@ez_setup.py', 'description': 'Parse the command line for options.', 'signature': 'def _parse_args():'}</s>{'name': 'archive_context@ez_setup.py', 'description': 'Unzip filename to a temporary directory, set to the cwd.\n\nThe unzipped target is cleaned up after.', 'code': 'def archive_context(file...
0
{'name': 'FancyPage.beforeDrawPage@rst2pdf/createpdf.py', 'description': 'Do adjustments to the page according to where we are in the document.\n\n* Gutter margins on left or right as needed', 'signature': 'def beforeDrawPage(self, canv, doc):'}</s>{'name': 'SetNextTemplate@rst2pdf/flowables.py', 'description': 'Set ca...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>ICON_CONTROLLER_ON = "mdi:water"
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfioc_state_kill@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'ImputationKernel.tune_parameters@miceforest/imputation_kernel.py', 'description': "Perform hyperparameter tuning on models at the current iteration.\nThis method is not meant to be robust, but to get a decent set of\nparameters to help with imputation. A few notes:\n\n- The parameters are tuned on the data th...
0
{'name': 'rednet_pipeline@predict.py', 'description': 'rednet in altizure pipeline ', 'signature': 'def rednet_pipeline(mvs_list):'}</s>{'name': 'tr_less_three_percentage@model.py', 'description': 'less three interval accuracy for one batch ', 'code': 'def tr_less_three_percentage(y_true, y_pred, interval):\n """ le...
0
{'name': 'set_bar@library/dot3k/backlight.py', 'description': 'Set a value or values to one or more LEDs\n\n:param index: starting index\n:param value: a single int, or list of brightness values from 0 to 255', 'signature': 'def set_bar(index, value):'}</s>{'name': 'mid_hue@library/dot3k/backlight.py', 'description': '...
0
{'name': 'copy@examples/python/ggml/utils.py', 'description': 'Copy the contents of one tensor to another, doing any necessary (de/re)quantization transparently.\nWorks across numpy & ggml tensors, but they must have the same shape (and be contiguous).\n\nParameters\n----------\nfrom_tensor : TensorLike\n The tensor...
1
{'name': 'new@todoman/cli.py', 'description': 'Create a new task with SUMMARY.', 'signature': 'def new('}</s>{'name': '_validate_date_param@todoman/cli.py', 'description': 'DOCSTRING', 'code': 'def _validate_date_param(\n click_ctx: click.Context,\n param: click.Parameter,\n val: str,\n) -> date | None:\n c...
0
{'name': 'BotocoreTestResourceFactory.patch_botocore@pytest_localstack/contrib/botocore.py', 'description': 'Context manager that will patch botocore to use Localstack.\n\nSince boto3 relies on botocore to perform API calls, this method\nalso effectively patches boto3.', 'signature': 'def patch_botocore(self):'}</s>{'n...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
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': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>DEFAULT_CONFIG = { "share_username": "", "username": "vulshare", "pwd": "2a295233-801b-4efb-9f78-916330b984f6",...
0
{'name': 'unique@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Returns list with unique entries of input list', 'signature': 'def unique(lst):'}</s>{'name': 'get_system_type@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_system_type():\n return os.environ[...
0
{'name': 'TabularDataFeatures.get_categorical_intersections@lightautoml/pipelines/features/base.py', 'description': 'Get transformer that implements categorical intersections.\n\nArgs:\n train: Dataset with train data.\n feats_to_select: features to handle. If ``None`` - default filter.\n\nReturns:\n Transform...
0
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'is_mutibyte_string@qt4a/androiddriver/util.py', 'description': '判断是否是多字节字符串', 'signature': 'def is_mutibyte_string(data):'}</s>{'name': 'SocketError@qt4a/androiddriver/util.py', 'description': 'Socket连接错误', 'base_classes': ['RuntimeError'], 'methods': []}
0
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'ExceptionSpecificationKind@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'An Excep...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'test_testosterone@permute/data/tests/test_data.py', 'description': 'Test that "testosterone" data can be loaded. ', 'signature': 'def test_testosterone():'}</s>{'name': 'test_germina@permute/data/tests/test_data.py', 'description': 'Test that "germina" data can be loaded. ', 'code': 'def test_germina():\n ...
0
{'name': 'resnet50@training/resnet.py', 'description': 'Constructs a ResNet-50 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet50(pretrained=False, bn0=False, **kwargs):'}</s>{'name': 'resnet152@training/resnet.py', 'description': 'Constructs a ResNet-1...
0
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_POOL_BITMASK = 1
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'RpzCnameIpaddressdnRecord@infoblox_client/objects.py', 'description': 'RpzCnam...
0
{'name': 'main@trainer.py', 'description': 'train model until the maximum number of steps reached\n:param model_type: model type\n:param model_name: model name\n:param logger: logger\n:return: None', 'signature': 'def main(model_type, model_name, logger):'}</s>{'name': 'Simple@models.py', 'description': 'Convolution mo...
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': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'cancel_schedule_race@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def cancel_schedule_race(*args):\n RaceContext.race.schedule(None)'}
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'start@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def start(port_val=RaceContext.serverconfig.get_item(\'GENERAL\', \'HTTP_PORT\'), argv_arr=None):\n...
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>{'name': 'PFOp@pf/rule.py', 'description': 'Class representing a generic comparison operation.', 'base_classes': ['PFObject'], 'methods': [{'name': 'PFOp.__init__@pf/rule.py', ...
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'GroupedEpochBatchIterator@fairseq/data/iterators.py', 'description': 'Grouped version of EpochBatchIterator\nIt takes several samplers from different ...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_99 = Badge("eggplant", series=1, number=99, symbol="🍆")
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>MQ_LOCAL_ADDRESS_LENGTH = 48
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>MQIAMO_PKTS_DUPLICATED = 823
0
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
1
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ...
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'code': 'def on_restart_server():\n \'\'\'Re-execute the current process.\'\'...
0
{'name': 'parse_args_mat_plot@src/python_scripts/afnipy/lib_mat2d_plot.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args_mat_plot(full_argv):'}</s>{'name': 'glob_with_afni_selectors@src/python_scripts/afnipy/afn...
0
{'name': 'forward@transformers_learn_icl_by_gd/src/train.py', 'description': 'Transformer forward.', 'signature': 'def forward(tokens: jnp.ndarray, is_training: bool, gd: bool):'}</s>{'name': 'compute_ood_loss@transformers_learn_icl_by_gd/src/train.py', 'description': 'Compute loss on large dataset with potential scali...
0
{'name': 'Camera.load@cameratransform/camera.py', 'description': 'Load the camera parameters from a json file.\n\nParameters\n----------\nfilename : str\n the filename of the file to load.', 'signature': 'def load(self, filename: str):'}</s>ABCDDISTORTION = 1
1
{'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': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'WorkingSet.resolve@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pkg_resources/__init__.py', 'description': 'List all distributions needed to (recursively) meet `requirements`\n\n`requirements` must be a sequence of ``Requirement`` objects. `env`,\nif supplied, should be an ``Environment`` instance...
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>qr_request_4 = "pour "
0
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam...
0
{'name': 'GRUODECell_Autonomous.forward@gru_ode_bayes/models.py', 'description': 'Returns a change due to one step of using GRU-ODE for all h.\nThe step size is given by delta_t.\n\nArgs:\n t time\n h hidden state (current)\n\nReturns:\n Updated h', 'signature': 'def forward(self, t, h):'}</s>{'n...
0
{'name': 'test_topoplotFast@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test topoplotFast on a single component.', 'signature': 'def test_topoplotFast(file, eeglab_result_file):'}</s>{'name': 'test_resampling@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test that we correctly resample...
0
{'name': 'main@lib/ddupdate/main.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': 'ip_cache_clear@lib/ddupdate/main.py', 'description': 'Remove the cache file for actual service plugin in opts.', 'code': 'def ip_cache_clear(opts, log):\n """Remove the cache file for actual servic...
0
{'name': 'locust_program@transformer/locust.py', 'description': 'Converts a ScenarioGroup into a Locust File.', 'signature': 'def locust_program(scenarios: Sequence[Scenario]) -> py.Program:'}</s>{'name': 'Assignment@transformer/python.py', 'description': "The assignment of a value to a variable.\n\nFor our purposes, w...
0
{'name': 'Analyzer.value@sqf/analyzer.py', 'description': 'Given a single token, recursively evaluates and returns its value', 'signature': 'def value(self, token, namespace_name=None):'}</s>{'name': 'DefineResult@sqf/interpreter_types.py', 'description': 'A statement whose some token was replaced by a #define.\nThe st...
1
{'name': 'zip_apply@dpipe/batch_iter/utils.py', 'description': 'Returns a function that takes an iterable and zips ``functions`` over it.\n\n``kwargs`` are passed to each function as additional arguments.\n\nExamples\n--------\n>>> zipper = zip_apply(np.square, np.sqrt)\n>>> zipper([4, 9])\n>>> (16, 3)', 'signature': '...
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_boolparam_for...
0
{'name': 'JalaliDate._check_date_fields@persiantools/jdatetime.py', 'description': "Validate and normalize the date fields.\n\nArgs:\n year (int): The year of the Jalali date.\n month (int): The month of the Jalali date.\n day (int): The day of the Jalali date.\n locale (str): The locale for the date repres...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'cached_lookup_type@gef.py', 'description': 'DOCSTRING', 'code': 'def cached_lookup_type(_type: str) -> gdb.Type | None:\n try:\n return gdb.lo...
0
{'name': 'load_settings@internals/settings.py', 'description': 'Instantiate the SettingsContainer module instance, which happens as part of the module loading in the\nmain thread. Across reloads, though, try to keep the update triggers.', 'signature': 'def load_settings():'}</s>{'name': 'same_property_pref@internals/se...
0
{'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': 'ext_vnet@test/conftest.py', 'description': 'Creates a resource group containing a new VNET, subnet, public IP, and\njumpbox for use in other tests.', 'signature': 'def ext_vnet(test_vars):'}</s>{'name': 'ssh_con@test/conftest.py', 'description': 'DOCSTRING', 'code': 'def ssh_con(ssh_con_fabric):\n return s...
0
{'name': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'get_FPRs@lldb/pack...
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>replay_buffer = ReplayBuffer(replay_buffer_size)
0
{'name': 'Paragraph.drawPara@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draws a paragraph according to the given style.\nReturns the final y position at the bottom. Not safe for\nparagraphs without spaces e.g. Japanese; wrapping\nalgorithm will go infinite.', 'signature': 'def drawPara(self, debug=0):'}</s>_wsc...
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': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
0
{'name': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/...
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': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>ci_bucket_name = 'cos-python-v5-test-ci-' + APPID
0
{'name': 'xy_rotate_box@apphelper/image.py', 'description': '绕 cx,cy点 w,h 旋转 angle 的坐标\nx_new = (x-cx)*cos(angle) - (y-cy)*sin(angle)+cx\ny_new = (x-cx)*sin(angle) + (y-cy)*sin(angle)+cy', 'signature': 'def xy_rotate_box(cx,cy,w,h,angle):'}</s>{'name': 'box_rotate@apphelper/image.py', 'description': '对坐标进行旋转 逆时针方向 0\\9...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_APPL_IMMOVABLE_REASON = 1435
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 ...
1
{'name': 'ParseArguments@scripts/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>{'name': '_Fu...
0
{'name': 'PACT_Conv1d.get_output_eps@nemo/quant/pact.py', 'description': 'Get the output quantum (:math:`\\varepsilon`) given the input one.\n\n:param eps_in: input quantum :math:`\\varepsilon_{in}`.\n:type eps_in: :py:class:`torch.Tensor`\n:return: output quantum :math:`\\varepsilon_{out}`.\n:rtype: :py:class:`torch...
0
{'name': 'Client.__init__@SalesforcePy/sfdc.py', 'description': 'Constructor.\n\n:Parameters:\n - `*username` (`string`) - Salesforce username.\n - `*password` (`string`) - Salesforce password.\n - `*login_url` (`string`) - Salesforce login URL.\n - `*client_id` (`string`) - Salesforce client ID.\n - `*c...
0
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
1
{'name': 'scaled_dot_product_attention@Transformers/TensorFlow_version_2.0/EN_SP/BLEU_ricardo_en_sp_transformer_tf2.py', 'description': 'Calculate the attention weights.\nq, k, v must have matching leading dimensions.\nk, v must have matching penultimate dimension, i.e.: seq_len_k = seq_len_v.\nThe mask has different 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': 'Block.AddLine@vimdoc/block.py', 'description': 'Adds a line of text to the block. Paragraph type is auto-determined.', 'signature': 'def AddLine(self, line):'}</s>command_line = re.compile(r""" # Leading whitespace. ^\s* # com[mand] com(?:m|ma|man|mand)? # Optional bang. (?:\s*!\s*|\s+) # GROUP ...
0
{'name': 'ExportControl.exportOldTreeLine@source/exports.py', 'description': 'Export old TreeLine version (2.0.x), use ExportDialog options.\n\nPrompt user for path if not given in argument.\nReturn True on successful export.\nArguments:\n pathObj -- use if given, otherwise prompt user', 'signature': 'def exportOldT...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'MessageListener@python/google/protobuf/internal/message_listener.py', 'description': 'Liste...
0
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s...
0
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of 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 ca...
0
{'name': '_expand@src/fuzzysearch/levenshtein_ngram.py', 'description': 'Expand a partial match of a Levenstein search.\n\nAn expansion must begin at the beginning of the sequence, which makes\nthis much simpler than a full search, and allows for greater optimization.', 'signature': 'def _expand(subsequence, sequence, ...
0
{'name': 'is_mlflow_tracking_enabled@lazypredict/Supervised.py', 'description': 'Checks if MLflow tracking is enabled via environment variable.', 'signature': 'def is_mlflow_tracking_enabled():'}</s>categorical_transformer_high = Pipeline( steps=[ ("imputer", SimpleImputer(strategy="constant", fill_value="m...
0
{'name': 'AzureRMTrafficManagerProfile.create_update_traffic_manager_profile@library/azure_rm_trafficmanagerprofile.py', 'description': 'Creates or updates a Traffic Manager profile.\n\n:return: deserialized Traffic Manager profile state dictionary', 'signature': 'def create_update_traffic_manager_profile(self):'}</s>E...
0
{'name': 'TestMediaWikiExceptions.test_geocoord_error@tests/mediawiki_test.py', 'description': 'test geocoord error thrown', 'signature': 'def test_geocoord_error(self):'}</s>__version__ = VERSION
0
{'name': '_scalar_to_numpy@json_tricks/decoders.py', 'description': 'From scalar value to numpy type.', 'signature': 'def _scalar_to_numpy(data, dtype):'}</s>{'name': 'EnumInstanceHook@json_tricks/decoders.py', 'description': "This hook tries to convert json encoded by enum_instance_encode back to it's original instanc...
0
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ...
0
{'name': 'get@dwave/cloud/cli.py', 'description': 'Fetch Leap API token.', 'signature': 'def get(*, config_file, profile, token_type, json_output, raw_output, output):'}</s>{'name': 'VersionNotFoundError@dwave/cloud/utils/dist.py', 'description': 'Package version requirement not satisfied.', 'base_classes': ['Exception...
0
{'name': '_sort_nodes@osmnx/_osm_xml.py', 'description': "Topologically sort the nodes of an OSM way.\n\nParameters\n----------\nG\n The graph representing the OSM way.\nosmid\n The OSM way ID.\n\nReturns\n-------\nordered_nodes\n The way's node IDs in topologically sorted order.", 'signature': 'def _sort_node...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 call with any errors found.', 'signature': 'd...
0
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'Lexer@util/py_lib/seqan/dox/lexer.py', 'description': 'A simple regex-based lexer/tokenizer.\n\nSee below for an example of usage.'...
0
{'name': 'main@3rdparty/mongo-c-driver-1.26.2/build/calc_release_version.py', 'description': 'The algorithm is roughly:\n\n - Is the --next-minor flag passed? If "yes", then return the next minor\n release with a pre-release marker.\n - Is the current HEAD associated with a tag that looks like a release\n ...
1
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>HEADER_AUTHORIZATION_USER = "X-Trino-Authorization-User"
0
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'code': 'def t...
0
{'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': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>SM_CXSMICON = 49
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'code': 'def do_setup():\n """Main VCS-indepen...
0