MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 2 callersMethodget_bash_command
( executable: str, cmd_args: Optional[Dict[str, str]] = None, )
backends/cadence/runtime/executor.py:139
↓ 2 callersFunctionget_binary_op_act_pattern
Returns an aten graph corresponding to a sequence of these ops: input_1 --- \ --> binary_op -> activation -> o
backends/apple/coreml/quantizer/_coreml_quantizer_utils.py:286
↓ 2 callersFunctionget_build_type
(is_debug=None)
setup.py:175
↓ 2 callersFunctionget_cached_symbols
Return a dictionary of symbols scraped from build files
scripts/check_binary_dependencies.py:172
↓ 2 callersFunctionget_calibration_data
This method is used to obtain calibration data from a prompt so that the algorithm is calibrated not only with the dataset but also the input
backends/openvino/quantizer/llm_compression.py:23
↓ 2 callersFunctionget_calibration_inputs_fn_from_dataset_dir
(dataset_dir)
backends/nxp/tests/executorch_pipeline.py:123
↓ 2 callersFunctionget_callable
(name)
exir/dialects/edge/op/api.py:31
↓ 2 callersFunctionget_canonical_opname
get the canonical name of an operator "op" and "func" are two keywords we are supporting for yaml files. To give an example: -
codegen/tools/merge_yaml.py:32
↓ 2 callersFunctionget_checkpoint_dtype
Get the dtype of the checkpoint, returning "None" if the checkpoint is empty.
examples/models/checkpoint.py:61
↓ 2 callersFunctionget_compile_spec
( compile_specs: List[CompileSpec], spec_name: str, required=False )
backends/samsung/utils/utils.py:18
↓ 2 callersMethodget_compile_spec
(self)
examples/models/toy_model/model.py:72
↓ 2 callersFunctionget_constant_placeholder_dict
Returns a dictionary of placeholder node -> constant tensor.
exir/passes/constant_prop_pass.py:104
↓ 2 callersMethodget_converted_scalar
(self, value, dtype)
exir/dialects/edge/arg/model.py:120
↓ 2 callersFunctionget_coreml_log_level
(default_level: int)
backends/apple/coreml/logging.py:10
↓ 2 callersFunctionget_dataset
(hr_dir: str, lr_dir: str, default_dataset: str, dataset_dir: str)
examples/qualcomm/scripts/edsr.py:88
↓ 2 callersMethodget_dataset
(self, batch_size)
examples/nxp/models/mobilenet_v2.py:46
↓ 2 callersFunctionget_debug_handle_to_event_map
( inspector: Inspector, event_block_name: str = "Execute", )
examples/apple/coreml/scripts/inspector_utils.py:315
↓ 2 callersFunctionget_default_memory_config
()
backends/cadence/aot/utils.py:344
↓ 2 callersFunctionget_docstring
Returns the docstring of an object, formatted in markdown to resemble pytorch-style docs, e.g. an argument list like: Args: arg1: des
backends/arm/scripts/docgen/docgen.py:25
↓ 2 callersMethodget_dynamic_dimension
(self, dims)
backends/qualcomm/builders/node_visitor.py:383
↓ 2 callersFunctionget_dynamic_shapes
(model_name)
examples/vulkan/export.py:139
↓ 2 callersMethodget_eager_model
(self)
examples/models/llava/model.py:351
↓ 2 callersMethodget_eager_model
(self)
examples/models/toy_model/model.py:125
↓ 2 callersMethodget_eager_model
(self)
examples/models/inception_v3/model.py:20
↓ 2 callersFunctionget_edge_compile_config
()
backends/samsung/utils/export_utils.py:28
↓ 2 callersMethodget_edge_dialect_expected_intermediate_outputs
Returns the expected outputs of the debug handles and intermediate output mapping for edge dialect graph of this model for the given input.
devtools/inspector/tests/inspector_test_utils.py:63
↓ 2 callersFunctionget_edge_overload_packet
(edge_op: EdgeOpOverload)
backends/transforms/permute_pass_utils.py:30
↓ 2 callersMethodget_effective_dtype
(self, dtype: torch.dtype)
backends/vulkan/serialization/vulkan_graph_builder.py:218
↓ 2 callersFunctionget_elf_path
(target_board: str, use_portable_ops: bool = False)
backends/arm/test/runner_utils.py:945
↓ 2 callersFunctionget_embedding_2bit_dtype_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1111
↓ 2 callersFunctionget_embedding_2bit_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1079
↓ 2 callersFunctionget_embedding_4bit_dtype_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1172
↓ 2 callersFunctionget_embedding_4bit_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1140
↓ 2 callersFunctionget_embedding_byte_dtype_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1053
↓ 2 callersFunctionget_embedding_byte_replacement
(has_nonzero_zero_point)
exir/passes/_quant_patterns_and_replacements.py:1019
↓ 2 callersFunctionget_enn_pass_list
()
backends/samsung/utils/export_utils.py:47
↓ 2 callersMethodget_example_input
(self)
examples/qualcomm/oss_scripts/llama/model/embedding.py:29
↓ 2 callersMethodget_example_inputs
()
backends/apple/mps/test/test_mps_models.py:36
↓ 2 callersMethodget_example_inputs
(self)
examples/portable/scripts/export_and_delegate.py:131
↓ 2 callersMethodget_example_inputs
(self)
examples/models/toy_model/model.py:128
↓ 2 callersMethodget_example_inputs
(self)
examples/models/edsr/model.py:26
↓ 2 callersMethodget_example_inputs
(self)
examples/qualcomm/oss_scripts/llm_utils/decoder_model_wrapper.py:151
↓ 2 callersFunctionget_executorch_model
(executorch_program: ExportedProgram)
examples/apple/mps/scripts/bench_utils.py:50
↓ 2 callersFunctionget_exported_graph
( model, sample_inputs, sample_kwargs=None, dynamic_shapes=None, qmode=QuantizationMode.NO
backends/vulkan/test/utils.py:196
↓ 2 callersMethodget_exported_program_expected_intermediate_outputs
Returns the expected outputs of the debug handles and intermediate output mapping for export graph of this model for the given input.
devtools/inspector/tests/inspector_test_utils.py:101
↓ 2 callersMethodget_freqs
Get the precomputed frequencies for the given input position and sequence length. Args: input_pos (torch.Tensor): The in
examples/apple/coreml/llama/llama_transformer.py:154
↓ 2 callersMethodget_function
Return the corresponding activation function.
examples/models/llama/model_args.py:26
↓ 2 callersFunctionget_graph_input_tensors
( nodes: Iterable[Node], graph_signature: Optional[ExportGraphSignature] = None )
exir/memory_planning.py:534
↓ 2 callersFunctionget_graph_output_tensors
(nodes: Iterable[Node])
exir/memory_planning.py:546
↓ 2 callersFunctionget_groups_from_conv
(conv_node: torch.fx.Node)
backends/xnnpack/utils/utils.py:157
↓ 2 callersMethodget_handler
Get the handler for a node, or None if not registered.
backends/mlx/builder/op_registry.py:90
↓ 2 callersFunctionget_header
(name)
exir/verification/dev_html.py:12
↓ 2 callersFunctionget_im2row_output_size
( input: torch.Tensor, kernel_size: Tuple[int], dilation: Tuple[int], padding: Tuple[int],
backends/cadence/aot/utils.py:113
↓ 2 callersMethodget_input
Returns the pre-defined input tensor for this model.
devtools/inspector/tests/inspector_test_utils.py:56
↓ 2 callersFunctionget_input_list_description
(type: str)
examples/qualcomm/util_scripts/cli.py:125
↓ 2 callersFunctionget_input_names
Get a list[str] with the names of the inputs to this model. Args: program (ExportedProgram): The program to get input names from. Ret
backends/arm/test/runner_utils.py:100
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/modules/test_gru.py:53
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/modules/test_rnn.py:58
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/passes/test_decompose_meandim_pass.py:49
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/passes/test_fuse_batchnorm_pass.py:46
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/passes/test_decompose_softmax_pass.py:27
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/passes/test_decompose_int_pow_pass.py:45
↓ 2 callersMethodget_inputs
()
backends/arm/test/passes/test_decompose_einsum_pass.py:27
↓ 2 callersMethodget_inputs
(self)
backends/arm/test/quantizer/test_selective_quantization.py:96
↓ 2 callersMethodget_inputs
(self)
backends/transforms/test/test_quantize_fused_convbn_bias_pass.py:47
↓ 2 callersMethodget_inputs
(self)
backends/xnnpack/test/ops/test_batch_norm.py:199
↓ 2 callersMethodget_inputs
(self)
backends/xnnpack/test/ops/test_conv2d.py:79
↓ 2 callersMethodget_inputs
(self, tokens: List[int])
examples/apple/coreml/llama/llama_transformer.py:602
↓ 2 callersMethodget_inputs
(self)
extension/pybindings/test/make_test.py:132
↓ 2 callersMethodget_inputs_and_remaining_tokens
(self, tokens: List[int])
examples/apple/coreml/llama/llama_transformer.py:627
↓ 2 callersMethodget_kv_shared_layer_index
Get the layer index to share K/V from for a given layer. For KV shared layers, returns the index of the last non-shared layer of the
examples/models/gemma4/text_decoder/gemma4_config.py:259
↓ 2 callersFunctionget_logger
()
examples/qualcomm/qaihub_scripts/utils/export.py:33
↓ 2 callersMethodget_logits_output_bit_width
(self)
examples/qualcomm/oss_scripts/llama/static_llm_quant_recipe.py:44
↓ 2 callersFunctionget_masked_language_model_dataset
(dataset_path, tokenizer, data_size, shuffle=True)
examples/mediatek/aot_utils/oss_utils/utils.py:79
↓ 2 callersMethodget_matched_nodes_from_configs
( self, ep: ExportedProgram )
exir/backend/canonical_partitioners/config_partitioner.py:199
↓ 2 callersMethodget_md5_checksum
(self, file_path: str)
backends/vulkan/runtime/gen_vulkan_spv.py:922
↓ 2 callersFunctionget_model
Create the CifarNet model. :param batch_size: Batch size to use during training. :param state_dict_file: `.pth` file. If provided and the fil
examples/nxp/experimental/cifar_net/cifar_net.py:127
↓ 2 callersFunctionget_model_and_inputs_from_name
Resolve a model name into a model instance and example inputs. Args: model_name: Identifier for the model. It can be a key in
backends/arm/scripts/aot_arm_compiler.py:206
↓ 2 callersFunctionget_model_specific_kwargs
Retrieve model-specific config required for Static LLaMA. This method handles architecture-specific requirements for both Vision-Language Mod
examples/qualcomm/oss_scripts/llama/wrappers/base_component.py:122
↓ 2 callersFunctionget_model_with_r1_r2
(optimized_rotation_path: str)
examples/models/llama/source_transformation/apply_spin_quant_r1_r2.py:96
↓ 2 callersFunctionget_new_key
(old_key: str)
examples/models/llama/fairseq2.py:26
↓ 2 callersFunctionget_node_val_str
(node: torch.fx.Node)
backends/vulkan/utils.py:1832
↓ 2 callersFunctionget_node_visitors
(*args)
backends/apple/mps/operators/node_visitor.py:397
↓ 2 callersFunctionget_non_qdq_users
Return a list of nodes which consume the output of `node`, but Quantize/Dequantize nodes from QDQ clusters are ignored. Meaning, the list of node
backends/nxp/backend/edge_helper.py:151
↓ 2 callersMethodget_noop_handler
Get the NOOP handler, if registered.
backends/mlx/builder/op_registry.py:141
↓ 2 callersMethodget_num_memories
(self)
backends/cadence/aot/utils.py:335
↓ 2 callersFunctionget_nvidia_smi
()
util/collect_env.py:250
↓ 2 callersMethodget_op_package_options
Build and return QnnExecuTorchOpPackageOptions from all registered implementations. Call after all register_implementation() calls ar
backends/qualcomm/custom_op/interface.py:105
↓ 2 callersMethodget_operator_codes
(self)
backends/nxp/backend/ir/converter/builder/model_builder.py:1708
↓ 2 callersFunctionget_ops_count
(graph_module: torch.fx.GraphModule)
backends/cadence/aot/utils.py:153
↓ 2 callersMethodget_or_create_qnn_manager
( self, backend_type: QnnExecuTorchBackendType, option: bytes )
backends/qualcomm/utils/qnn_manager_lifecycle.py:26
↓ 2 callersMethodget_original_aten
Returns the original aten dialect op, this is for to_edge_transform_and_lower API, so that this config can be used to stop decomposit
exir/backend/canonical_partitioners/config_partitioner.py:90
↓ 2 callersFunctionget_out_args_from_schema
Assume the input is the schema for an out variant. Return the name list of the out arguments.
exir/operator/convert.py:97
↓ 2 callersFunctionget_output_from_file
( exported_program: ExportedProgram, intermediate_path: str | Path, output_base_name: str, )
backends/arm/test/runner_utils.py:320
↓ 2 callersFunctionget_output_quantization_params
Get output QuantizationParams from a program. Args: output_nodes (list(Node)): A list of output nodes to get output quantization paramete
backends/arm/test/runner_utils.py:151
↓ 2 callersFunctionget_output_shape
(node: Node)
backends/nxp/backend/graph_utils.py:41
↓ 2 callersMethodget_outputs
(self, log_to_stdout: bool = False)
backends/cadence/runtime/etdump.py:52
↓ 2 callersMethodget_overlapping_spec
Get the overlapping spec for the given spec.
backends/cadence/aot/memory_planning_algo.py:53
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:71
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_gpt2.py:59
← previousnext →3,401–3,500 of 28,493, ranked by callers