text string | label int64 |
|---|---|
{'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': 'make_icon@code/html/generate_static_website.py', 'description': ':param id:\n:param title... | 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': 'Environment.model_server_workers@src/sagemaker_inference/environment.py', 'description': 'str: Number of worker processes the model server is configured to use.', 'signature': 'def model_server_workers(self) -> Optional[str]:'}</s>ANY = "*/*" | 0 |
{'name': 'convert_sqlalchemy_relationship@graphene_sqlalchemy/converter.py', 'description': ':param sqlalchemy.RelationshipProperty relationship_prop:\n:param SQLAlchemyObjectType obj_type:\n:param function|None connection_field_factory:\n:param bool batching:\n:param str orm_field_name:\n:param dict field_kwargs:\n:rt... | 0 |
{'name': 'uberenv_create_mirror@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to create a spack mirror.', 'signature': 'def uberenv_create_mirror(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_specs_for_current_machine@scripts/llnl_scripts/llnl_lc_build_tools.py', 'descriptio... | 0 |
{'name': 'IrokoTopo.create_links@dc_gym/topos/topo_nonblock.py', 'description': 'Add links between switch and hosts.', 'signature': 'def create_links(self):'}</s>{'name': 'TopoFactory@dc_gym/utils.py', 'description': 'Generator class.\nReturns a target subclass based on the provided target option.', 'base_classes': [],... | 0 |
{'name': 'send_spoofed_arp@core/arp_spoofer.py', 'description': 'Sends out bidirectional ARP spoofing packets to the victim so that the host running Inspector appears to have the `dest_ip_addr` IP address.', 'signature': 'def send_spoofed_arp(victim_mac_addr, victim_ip_addr, dest_mac_addr, dest_ip_addr):'}</s>inspector... | 0 |
{'name': 'init@python/taichi/lang/misc.py', 'description': 'Initializes the Taichi runtime.\n\nThis should always be the entry point of your Taichi program. Most\nimportantly, it sets the backend used throughout the program.\n\nArgs:\n arch: Backend to use. This is usually :const:`~taichi.lang.cpu` or :const:`~taich... | 1 |
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservationDifferentPeriods@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservationDifferentPeriod... | 1 |
{'name': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n... | 1 |
{'name': 'LPIPS.forward@piqa/lpips.py', 'description': 'Args:\n x: An input tensor, :math:`(N, 3, H, W)`.\n y: A target tensor, :math:`(N, 3, H, W)`.\n\nReturns:\n The LPIPS vector, :math:`(N,)` or :math:`()` depending on `reduction`.', 'signature': 'def forward(self, x: Tensor, y: Tensor) -> Tensor:'}</s>{'na... | 1 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': 'SyncAllEntitiesTest.test_sync_all_accounts_teams_deleted_account_during_sync@entity/tests/sync_tests.py', 'description': 'Tests the scenario of an account being deleted after account ids are fetched but before the super\nentities are fetched', 'signature': 'def test_sync_all_accounts_teams_deleted_account_dur... | 0 |
{'name': 'monitor_coins_and_button@app.py', 'description': 'Monitors coins inserted and buttons pushed\n ', 'signature': 'def monitor_coins_and_button():'}</s>coin_signal = Button(6) | 0 |
{'name': 'cleanup_conds@panoramix/simplify.py', 'description': 'removes ifs/whiles with conditions that are obviously true\nand replace variables that need to be equal to a constant by that constant', 'signature': 'def cleanup_conds(trace):'}</s>{'name': 'simplify_exp@panoramix/simplify.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'Contract.create@ib_insync/contract.py', 'description': 'Create and a return a specialized contract based on the given secType,\nor a general Contract if secType is not given.', 'signature': "def create(**kwargs) -> 'Contract':"}</s>{'name': 'TradingSession@ib_insync/contract.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'TestAddBooks.test_add_book2_in_place@tests/test_multiple_sheets.py', 'description': 'test this scenario: book3 = book1 + sheet3', 'signature': 'def test_add_book2_in_place(self):'}</s>{'name': 'TestMultiSheetReader@tests/test_multiple_sheets.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'n... | 0 |
{'name': 'Field.__repr__@ddparser/parser/data_struct/field.py', 'description': 'repr', 'signature': 'def __repr__(self):'}</s>{'name': 'Field@ddparser/parser/data_struct/field.py', 'description': 'Field', 'base_classes': ['RawField'], 'methods': [{'name': 'Field.__init__@ddparser/parser/data_struct/field.py', 'descript... | 1 |
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co... | 0 |
{'name': 'optimize_if01@libc/kernel/tools/cpp.py', 'description': 'Remove the code between #if 0 .. #endif in a list of CppBlocks.', 'signature': 'def optimize_if01(blocks):'}</s>tokSHL = "<<" | 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_BACKUP_DATE = 3098 | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>gSTR_XMAT_FILE = " X-matrix file: " | 1 |
{'name': 'Mapdef.__init__@swagger_to/go_server.py', 'description': 'Initialize with default values.', 'signature': 'def __init__(self):'}</s>{'name': 'generate_handler_impl_go@swagger_to/go_server.py', 'description': 'Generate a file which implements the handler interface with empty methods.\n\n:param package: name of ... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'normalize_addr_dict@scourgify/normalize.py', 'description': 'Normalize an address from dict or dict-like object.\n\nAssumes addr_dict will have standard address related keys (address_line_1,\naddress_line_2, city, state, postal_code), unless addr_map is provided.\n\naddr_map, if used, must be in the format {s... | 1 |
{'name': 'make_language_per_repo_list@sources/graphics_list_formatter.py', 'description': 'Calculate language-related info, how many repositories in what language user has.\n\n:param repositories: User repositories.\n:returns: string representation of statistics.', 'signature': 'def make_language_per_repo_list(reposito... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>_POSSIBLE_MY_HEADER = 4 | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>amount_screen_2 = "Taux" | 1 |
{'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': 'CommandExecutePreviewHandler@exporter/SynthesisFusionAddin/src/UI/ConfigCommand.py', 'description': '#... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_set_led_effect@src/server/server.py', 'description': 'Set effect for event.', 'code': "def on_set_led_effect(data):\n '''Set effect for event.'''\n if 'event... | 0 |
{'name': 'find_on_path@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'EggMetadata@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__... | 0 |
{'name': 'check_json_precision@test/functional/test_framework/util.py', 'description': 'Make sure json library being used does not lose precision converting BTC values', 'signature': 'def check_json_precision():'}</s>{'name': 'get_auth_cookie@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>PLATEAU = [4314] | 0 |
{'name': 'create_workspace_sysroot_image@ros_cross_compile/sysroot_creator.py', 'description': 'Create the target platform sysroot image.\n\n:param docker_client Docker client to use for building\n:param platform Information about the target platform\n:param build_context Directory containing all assets needed by sysro... | 0 |
{'name': 'Request.get_response@spider/network/request.py', 'description': '获取带有selector功能的response\n@param save_cached: 保存缓存 方便调试时不用每次都重新下载\n@return:', 'signature': 'def get_response(self, save_cached=False):'}</s>OTHERS_LOG_LEVAL = "ERROR" | 0 |
{'name': 'VersatileImageFieldTestCase.test_registration_exceptions@tests/tests.py', 'description': 'Ensure all registration-related exceptions fire as expected.', 'signature': 'def test_registration_exceptions(self):'}</s>{'name': 'VersatileImageWidgetTestModel@tests/models.py', 'description': 'A model for testing Vers... | 0 |
{'name': 'TmpFs.expected@src/doc8/tests/test_main.py', 'description': 'Insert the path into a template to generate an expected test value', 'signature': 'def expected(self, template):'}</s>OUTPUT_CMD_QUIET = "{path}/invalid.rst:1: D002 Trailing whitespace
{path}/invalid.rst:1: D005 No newline at end of file
" | 0 |
{'name': 'getPath@apim-traffic-tool/lib/traffic-tool/src/python/gen_invoke_scenario.py', 'description': 'This function will return the invoke path for a given api and http method (for a single tenant environment)\n:param api_name: Name of the API\n:param method: Method of the API\n:return: Invoke path', 'signature': 'd... | 0 |
{'name': 'Series.bookmark@AO3/series.py', 'description': 'Bookmarks this series\nThis function is threadable\n\nArgs:\n notes (str, optional): Bookmark notes. Defaults to "".\n tags (list, optional): What tags to add. Defaults to None.\n collections (list, optional): What collections to add this bookmark to. D... | 0 |
{'name': 'main@tools/yapf/yapf/__init__.py', 'description': 'Main program.\n\nArguments:\n argv: command-line arguments, such as sys.argv (including the program name\n in argv[0]).\n\nReturns:\n 0 if there were no changes, non-zero otherwise.\n\nRaises:\n YapfError: if none of the supplied files were Python files... | 0 |
{'name': 'ConditionParser.expr@mtglib/gatherer_request.py', 'description': 'Top level parsing function.\n\nAn expression is <keyword> <OR> <expr>\nor <keyword> <SEP> <expr>\nor <keyword>', 'signature': 'def expr(self, token_stream, token):'}</s>{'name': 'flatten@mtglib/gatherer_request.py', ... | 1 |
{'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': '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': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>AUTOA3 = AUTOA2 * AUTOA | 0 |
{'name': 'conv3x3@Model/resnet.py', 'description': '3x3 convolution with padding', 'signature': 'def conv3x3(in_planes, out_planes, stride=1):'}</s>{'name': 'resnet50@Model/resnet.py', 'description': 'Constructs a ResNet-50 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'code... | 0 |
{'name': 'plot@scripts/benchmarks/mir_concentric_circles.py', 'description': 'Read the available timing files and plot them.', 'signature': 'def plot(params):'}</s>{'name': 'make_columns@scripts/benchmarks/mir_concentric_circles.py', 'description': 'Read the available timing files and make columns of data.', 'code': 'd... | 1 |
{'name': 'create_reduced_sets@datasets/make_files/generate_datasets.py', 'description': 'Create reduced single-label train/validation/test sets.', 'signature': 'def create_reduced_sets(save: bool = False) -> None:'}</s>{'name': 'PDBBackbone@enzynet/pdb.py', 'description': "Functions aimed at information extraction from... | 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': 'test_list_case_insensitive_other_collision@tests/test_cli.py', 'description': 'Test that the case-insensitive list name matching is used if a\ncollision exists that does not affect the queried list.', 'signature': 'def test_list_case_insensitive_other_collision('}</s>{'name': 'test_status_validation@tests/tes... | 0 |
{'name': 'BytesEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Returns an encoder for a bytes field.', 'signature': 'def BytesEncoder(field_number, is_repeated, is_packed):'}</s>SFixed32Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED32, '<i') | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'Dnssectrustedkey@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []} | 0 |
{'name': 'Annotation.set_propaganda_technique_list_obj@tools/src/annotation.py', 'description': 'propaganda_technique_obj is an object from the module src.propaganda_techniques.\nTypical invokation: \n`\n propaganda_techniques = pt.Propaganda_Techniques(filename=propaganda_techniques_list_file)\n an.Annotation.se... | 0 |
{'name': 'build_model@chapter08-seq2seq-attn/transformer.py', 'description': 'Build the full transformer model', 'signature': 'def build_model(source_vocabulary: int,'}</s>{'name': 'PositionwiseFFN@chapter08-seq2seq-attn/transformer.py', 'description': 'Implements FFN equation from the paper', 'base_classes': ['torch.n... | 1 |
{'name': 'main@goturn/train/train.py', 'description': 'TODO: Docstring for main.\n ', 'signature': 'def main(args):'}</s>kNumBatches = 500000 | 1 |
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ... | 0 |
{'name': 'train_autoencoder_cosineClassifier@shorttext/classifiers/bow/topic/TopicVectorDistanceClassification.py', 'description': 'Return a cosine distance classifier, i.e., :class:`TopicVecCosineDistanceClassifier`, while\ntraining an autoencoder as a topic model in between.\n\n:param classdict: training data\n:param... | 0 |
{'name': 'chunks@src/free_games_with_trading_cards.py', 'description': 'Yield successive n-sized chunks from l.', 'signature': 'def chunks(lst: list, n: int) -> collections.abc.Iterator[list]:'}</s>{'name': 'format_for_asf_command_line@src/free_games_with_trading_cards.py', 'description': 'DOCSTRING', 'code': 'def form... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'CalculateTestLists@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>ALL_TESTS = [] | 1 |
{'name': 'Client.get_player_verify@clashroyale/royaleapi/client.py', 'description': "Check the API Key of a player.\nThis endpoint has been **restricted** to\ncertain members of the community\n\nParameters\n----------\ntag: str\n A valid tournament tag. Minimum length: 3\n Valid characters: 0289PYLQGRJCUV\napikey... | 0 |
{'name': 'generate@components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py', 'description': 'Generate NVS Partition\n:param args: Command line arguments given\n:param is_encr_enabled: Encryption enabled/disabled\n:param encr_key: Key to encrypt NVS partition', 'signature': 'def generate(args, is_encr_enabled=... | 1 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\... | 0 |
{'name': 'conv2d_transpose@tf_util.py', 'description': "2D convolution transpose with non-linear operation.\n\nArgs:\n inputs: 4-D tensor variable BxHxWxC\n num_output_channels: int\n kernel_size: a list of 2 ints\n scope: string\n stride: a list of 2 ints\n padding: 'SAME' or 'VALID'\n initializer: which initia... | 0 |
{'name': 'ZiGate.write_attribute_request@zigate/core.py', 'description': 'Write Attribute request\nattribute could be a tuple of (attribute_id, attribute_type, data)\nor a list of tuple (attribute_id, attribute_type, data)', 'signature': 'def write_attribute_request(self, addr, endpoint, cluster, attributes,'}</s>ACTIO... | 0 |
{'name': 'TogglSet.filter@toggl/api/base.py', 'description': "Method that fetches all entries and filter them out based on specified conditions.\n\n:param order: Strings 'asc' or 'desc' which specifies how the results will be sorted (\n:param config: Config instance\n:param contain: Specify how evaluation of conditions... | 0 |
{'name': 'validate_metro_map_v3@metro_map_saver/map_saver/validator.py', 'description': 'Validate the MetroMap object, allowing mixing and matching line widths/styles.\n\nMain difference from v2 is points by color has an additional layer: the width+style,\n and drops the xy/xys intermediate key', 'signature': 'def v... | 0 |
{'name': 'Attachments.add_attachment_to_run@testrail_api/_category.py', 'description': 'Adds attachment to test run.\nThe maximum allowable upload size is set to 256mb.\nRequires TestRail 6.3 or later\n\n:param run_id:\n The ID of the test run the attachment should be added to\n:param path:\n The path to the file... | 0 |
{'name': 'cifar_generator@tensor2tensor_envi/data_generators/cifar.py', 'description': 'Image generator for CIFAR-10 and 100.\n\nArgs:\n cifar_version: string; one of "cifar10" or "cifar100"\n tmp_dir: path to temporary storage directory.\n training: a Boolean; if true, we use the train set, otherwise the test set.\... | 0 |
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n... | 0 |
{'name': 'waveshow@librosa/display.py', 'description': 'Visualize a waveform in the time domain.\n\nThis function constructs a plot which adaptively switches between a raw\nsamples-based view of the signal (`matplotlib.pyplot.step`) and an\namplitude-envelope view of the signal (`matplotlib.pyplot.fill_between`)\ndepen... | 0 |
{'name': 'FCOSHead.__init__@fcos/modeling/fcos/fcos.py', 'description': 'Arguments:\n in_channels (int): number of channels of the input feature', 'signature': 'def __init__(self, cfg, input_shape: List[ShapeSpec]):'}</s>{'name': 'DFConv2d@fcos/layers/deform_conv.py', 'description': 'Deformable convolutional layer w... | 1 |
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>WEB_MAX_LIST_ENTRIES = 0 | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': '_DomainCheckInterval@venv/Lib/site-packages/numpy/ma/core.py', 'des... | 0 |
{'name': 'test_https_h1@test/integration/test_integration_basics.py', 'description': 'Test h1 over https.\n\nRuns the CLI configured to use HTTP/1 over https against our test server, and sanity\nchecks statistics from both client and server.', 'signature': 'def test_https_h1(https_test_server_fixture):'}</s>{'name': 'h... | 0 |
{'name': 'read_csv@alphaction/dataset/datasets/evaluation/ava/ava_eval.py', 'description': 'Loads boxes and class labels from a CSV file in the AVA format.\n\nCSV file format described at https://research.google.com/ava/download.html.\n\nArgs:\n csv_file: Path of csv file.\n class_whitelist: If provided, boxes corres... | 0 |
{'name': 'SliceTemplateView.create@nssmf/views.py', 'description': 'Create a new individual Slice Template resource.\nThe POST method creates a new individual Slice Template resource.', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'ServiceMappingPluginSerializer@nssmf/serializers.py', 'descri... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>Unmap... | 0 |
{'name': 'PipelineSharedReadWrite.load@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/ml/pipeline.py', 'description': 'Load metadata and stages for a :py:class:`Pipeline` or :py:class:`PipelineModel`\n\n:return: (UID, list of stages)', 'signature': 'def load(metadata, sc, path):'}</s>{'name': 'D... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 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': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'MatMultOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Operator'], 'methods': []} | 0 |
{'name': 'MainWindow.newShape@labelImg.py', 'description': 'Pop-up and give focus to the label editor.\n\nposition MUST be in global coordinates.', 'signature': 'def newShape(self):'}</s>{'name': 'struct@libs/lib.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'struct.__init__@libs/lib... | 0 |
{'name': 'torch_hyp_add@scratch/learning_util.py', 'description': 'Accepts torch tensors u, v and returns their sum in hyperbolic\nspace in tensor format. Radius of the open ball is 1/sqrt(c). ', 'signature': 'def torch_hyp_add(u, v, c=1):'}</s>PROJ_EPS = 1e-05 | 0 |
{'name': 'quaternion_from_euler@utils/transformations.py', 'description': "Return quaternion from Euler angles and axis sequence.\n\nai, aj, ak : Euler's roll, pitch and yaw angles\naxes : One of 24 axis sequences as string or encoded tuple\n\n>>> q = quaternion_from_euler(1, 2, 3, 'ryxz')\n>>> numpy.allclose(q, [0.435... | 0 |
{'name': 'get_pydot_graph@tools/caffe-sphereface/python/caffe/draw.py', 'description': "Create a data structure which represents the `caffe_net`.\n\nParameters\n----------\ncaffe_net : object\nrankdir : {'LR', 'TB', 'BT'}\n Direction of graph layout.\nlabel_edges : boolean, optional\n Label the edges (default is ... | 1 |
{'name': 'stations_timeseries@BB_MesoWest/OLD_get_Synoptic.py', 'description': ' Get station data for time series.\n\n https://developers.synopticdata.com/mesonet/v2/stations/timeseries/\n\n Parameters\n ----------\n rename_set_1 : bool\n True - Rename the DataFrame columns to not include the set_... | 0 |
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Layer@discopy/rigid.py... | 0 |
{'name': 'get_aspp@model/utils.py', 'description': 'Create aspp block', 'signature': 'def get_aspp(high_level_ch, bottleneck_ch, output_stride, dpc=False):'}</s>{'name': 'wrn38@model/wider_resnet.py', 'description': 'This is wider resnet 38, output_stride=8', 'base_classes': ['nn.Module'], 'methods': [{'name': 'wrn38._... | 0 |
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ... | 0 |
{'name': 'get_env_name@src/conda_devenv/devenv.py', 'description': ':param args:\n When the user supplies the name option in the command line this namespace have a "name"\n defined with a not `None` value and this value is returned.\n:param conda_yaml_dict:\n If supplied and not `None` then `output_filename` i... | 1 |
{'name': 'score_hmm_events@nelpy/analysis/replay.py', 'description': 'score all sequences in the entire bst using the transition matrix shuffle and cross-validation', 'signature': 'def score_hmm_events('}</s>{'name': 'pooled_time_swap_bst@nelpy/analysis/replay.py', 'description': 'Time swap on BinnedSpikeTrainArray, sw... | 0 |
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ... | 0 |
{'name': 'CoCreateInstanceEx@comtypes/_post_coinit/misc.py', 'description': 'The basic windows api to create a COM class object and return a\npointer to an interface, possibly on another machine.\n\nPassing both "machine" and "pServerInfo" results in a ValueError.', 'signature': 'def CoCreateInstanceEx('}</s>_ole32_noh... | 0 |
{'name': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (de... | 0 |
{'name': 'from_pypianoroll@muspy/inputs/pianoroll.py', 'description': 'Return a Pypianoroll Multitrack object as a Music object.\n\nParameters\n----------\nmultitrack : :class:`pypianoroll.Multitrack`\n Pypianoroll Multitrack object to convert.\ndefault_velocity : int, default: `muspy.DEFAULT_VELOCITY` (64)\n Def... | 1 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_DEFAULT_C_SUPPRESSED_CATEGORIES = [
'readability/casting',
] | 0 |
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co... | 0 |
{'name': '_toggle_purposes@plugins/usdview_purpose_swap/plugins/purpose_swap/__init__.py', 'description': "Swap the USD purposes in the user's current usdview window.\n\nArgs:\n action (:class:`Qt.QtWidgets.QAction`):\n A Qt object to modify after the USD purposes are swapped.\n adapter (:class:`_ViewAdapt... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.