MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersMethod_get_groups_and_transposed
(op, args)
backends/arm/_passes/decompose_grouped_conv_pass.py:76
↓ 1 callersFunction_get_header_file_paths_from_query_output
Parse the output of a Buck query command to extract header file paths. Args: query_output_file: Path to the file containing the quer
codegen/tools/combine_prim_ops_headers.py:112
↓ 1 callersMethod_get_imagenet_224_transforms
Return standard ImageNet 224x224 preprocessing transforms.
backends/arm/util/arm_model_evaluator.py:215
↓ 1 callersFunction_get_index_select_decomposition
Return the operator overloads used to lower index_select via TOSA gather. Raises: RuntimeError: If the provided operator is not supported
backends/arm/_passes/decompose_index_select_to_gather_pass.py:22
↓ 1 callersMethod_get_inner_graph
(self, x_shape: Sequence[int])
backends/cadence/aot/tests/test_graph_builder.py:78
↓ 1 callersMethod_get_input_and_stages
( self, inputs, stage, reference_stage_type, run_eager_mode: bool )
backends/arm/test/tester/arm_tester.py:522
↓ 1 callersMethod_get_input_node
(self, node)
backends/qualcomm/_passes/recompose_rms_norm.py:90
↓ 1 callersFunction_get_input_node_names
(graph: Graph)
backends/mediatek/_passes/decompose_scaled_dot_product_attention.py:15
↓ 1 callersMethod_get_input_nodes
(self, graph_module: GraphModule)
backends/arm/_passes/insert_rescales_pass.py:452
↓ 1 callersFunction_get_input_qspecs_from_node
( quantization_annotation: QuantizationAnnotation, )
backends/qualcomm/quantizer/validators.py:185
↓ 1 callersMethod_get_input_qspecs_from_node
( self, node: torch.fx.Node )
backends/arm/test/tester/arm_tester.py:697
↓ 1 callersMethod_get_input_tensors
(self, node: torch.fx.Node)
backends/arm/_passes/get_decomposition_pass.py:37
↓ 1 callersMethod_get_inputs_rescaled_qparams
Get the qparams for the INT32 operands to the op ``target`` Inputs to the INT32-based operator must be rescaled from INT8 to INT32. T
backends/arm/_passes/insert_rescales_pass.py:170
↓ 1 callersFunction_get_int8_quantizer
()
backends/arm/test/passes/test_decompose_einsum_pass.py:31
↓ 1 callersFunction_get_item_from_executorch_call_delegate
Check if the node is the getitem followed by executorch_call_delegate node. These getitems node are just for getting the result from delegate
exir/backend/utils.py:249
↓ 1 callersMethod_get_last_dqs
r"""From one Q-DQ node, find the last DQs in the quantization node chain. need to consider such case: /--Q-DQ-node1
backends/samsung/_passes/annotate_qparams.py:49
↓ 1 callersFunction_get_leaky_relu_ops
(op)
backends/arm/_passes/decompose_leaky_relu_pass.py:19
↓ 1 callersMethod_get_linear_replacement
Let - yi be the output activations (y1, ... yn) - xj be the input activations (x1, ... xm) - wij be the weights (w11,
backends/cortex_m/passes/convert_to_cortex_m_pass.py:72
↓ 1 callersMethod_get_list_tuple_jit_type
Returns the JIT type for the given python type.
exir/emit/_emitter.py:514
↓ 1 callersFunction_get_logsoftmax_ops
Returns the (log_op, sub_op, amax_op, expo_op, sum_op, reciprocal_op), where the ops depends on if the softmax op is an aten or edge op.
backends/arm/_passes/decompose_softmax_pass.py:32
↓ 1 callersMethod_get_lookahead_decoding_mask
( self, ngram_size: int, window_size: int, n_verifications: int )
examples/apple/coreml/llama/llama_transformer.py:634
↓ 1 callersMethod_get_lookahead_decoding_mask
( self, ngram_size: int, window_size: int, n_verifications: int )
examples/models/llama/static_attention.py:681
↓ 1 callersMethod_get_lookahead_position_offsets
( self, ngram_size: int, window_size: int, n_verifications: int )
examples/apple/coreml/llama/llama_transformer.py:671
↓ 1 callersMethod_get_lookahead_position_offsets
( self, ngram_size: int, window_size: int, n_verifications: int )
examples/models/llama/static_attention.py:718
↓ 1 callersFunction_get_lowered_module
Given an executorch_call_delegate node, retrieve the associated LoweredBackendModule from the graph module. The first argument to executo
exir/passes/propagate_device_pass.py:53
↓ 1 callersMethod_get_lowered_submodules_across_controlflow
( self, graph_module: torch.fx.GraphModule )
exir/backend/test/test_to_backend_multi_method.py:67
↓ 1 callersFunction_get_mapped_key
Map a HuggingFace key to export model key using _HF_KEY_MAP.
examples/models/qwen3_5_moe/model.py:939
↓ 1 callersMethod_get_match
Returns the longest pattern match starting at the front of the queue.
backends/cortex_m/quantizer/pattern_matcher.py:99
↓ 1 callersMethod_get_matches
Returns the longest accepted match starting at the first node of the queue as well as longer rejected matches.
backends/cortex_m/quantizer/pattern_matcher.py:115
↓ 1 callersFunction_get_max_input_seq_len
Inspect the .pte program metadata to determine the max input_ids seq len. Returns the static seq-len dimension of the first input tensor (input_i
backends/mlx/examples/llm/run_llm_hf.py:36
↓ 1 callersMethod_get_max_pool2d_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:226
↓ 1 callersMethod_get_maximum_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:296
↓ 1 callersMethod_get_meta_copy
( meta, i, input_slice_size, output_slice_size, transposed, )
backends/arm/_passes/decompose_grouped_conv_pass.py:193
↓ 1 callersFunction_get_metadata
(reader: gguf.GGUFReader)
extension/gguf_util/load_gguf.py:43
↓ 1 callersMethod_get_min_max_arguments
( self, node: Node, dtype: torch.dtype )
backends/arm/operators/op_clamp.py:33
↓ 1 callersMethod_get_minimum_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:290
↓ 1 callersMethod_get_model_error
(ref_outputs, eval_outputs)
backends/arm/util/arm_model_evaluator.py:75
↓ 1 callersMethod_get_model_instance
(self)
examples/qualcomm/oss_scripts/llama/wrappers/llm_wrappers.py:277
↓ 1 callersMethod_get_model_outputs
(self)
backends/samsung/test/utils/runtime_executor.py:166
↓ 1 callersFunction_get_module_hierarchy
Get the module hierarchy of the given node.
util/activation_memory_profiler.py:39
↓ 1 callersMethod_get_module_type_filter
(self, tp: Callable)
backends/cortex_m/quantizer/node_finders.py:124
↓ 1 callersMethod_get_mul_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:94
↓ 1 callersFunction_get_nested_model_data
( # noqa: C901 graph_module: torch.fx.GraphModule, delegate_deserializers: Optional[ Dict[str
devtools/size_analysis_tool/size_analysis_tool.py:59
↓ 1 callersFunction_get_new_signature
Args: original_program: The original program that we are paritioning gm: The partitioned graph module. call_module_node:
exir/lowered_backend_module.py:542
↓ 1 callersFunction_get_node_target
Get an attribute from a module by dotted path. Args: module (torch.nn.Module | torch.fx.GraphModule): Root module. target_str (st
backends/arm/quantizer/quantization_annotator.py:260
↓ 1 callersMethod_get_normalized_quant_constraints
( self, node: torch.fx.Node )
backends/qualcomm/quantizer/quantizer.py:473
↓ 1 callersFunction_get_not_module_type_or_name_filter
Create a filter that excludes provided module types and names. Args: tp_list (List[Callable]): Module types to exclude from annotation.
backends/arm/quantizer/arm_quantizer.py:436
↓ 1 callersMethod_get_op_name
(node: torch.fx.Node)
devtools/debug_format/et_schema.py:90
↓ 1 callersFunction_get_operator_distribution
Counts the occurences of operator names in a graph. The result is a sorted list [('operator name':'number of nodes')]
backends/arm/test/tester/arm_tester.py:1155
↓ 1 callersFunction_get_operator_dtype_distribution
Counts the occurences of operator names and dtype pairs in a graph. The result is a sorted list[(('operator name','dtype'),'number of nodes')]
backends/arm/test/tester/arm_tester.py:1172
↓ 1 callersFunction_get_ops
(op)
backends/arm/_passes/decompose_add_sub_alpha_pass.py:28
↓ 1 callersFunction_get_ops
Return the namespace-matched operators used by the decomposition.
backends/arm/_passes/decompose_tril_pass.py:18
↓ 1 callersFunction_get_opset
(op)
backends/openvino/_passes/decompose_floor_divide_pass.py:31
↓ 1 callersFunction_get_opset
(op)
backends/arm/_passes/decompose_div_tensor_mode.py:37
↓ 1 callersMethod_get_ordered_inputs
( self, inputs: List[torch.fx.Node], output: torch.fx.Node )
backends/qualcomm/_passes/convert_bmm_to_matmul.py:38
↓ 1 callersMethod_get_output_deps
( self, node: torch.fx.Node, ep: ExportedProgram, precision: ConfigPrecisionType )
backends/xnnpack/partition/config/gemm_configs.py:193
↓ 1 callersFunction_get_output_dtype
( dtype: torch.dtype, tosa_spec: TosaSpecification, resize_mode: str )
backends/arm/tosa/dialect/ops/resize.py:27
↓ 1 callersMethod_get_output_format
Return the artifact format emitted by this compile spec.
backends/arm/tosa/compile_spec.py:34
↓ 1 callersFunction_get_output_node
(graph_module)
backends/cortex_m/test/misc/test_pattern_matcher.py:150
↓ 1 callersMethod_get_output_node
Return the traced value node for graphs that emit output(node).
backends/arm/_passes/get_decomposition_pass.py:58
↓ 1 callersMethod_get_output_qparams
Given an op ``target`` and the ``QuantArgs`` for each of its inputs, compute the scale of the output based on how the operator itself affects
backends/arm/_passes/insert_rescales_pass.py:242
↓ 1 callersFunction_get_output_qspec_from_node
( quantization_annotation: QuantizationAnnotation, )
backends/qualcomm/quantizer/validators.py:176
↓ 1 callersFunction_get_packers
(backend: str)
examples/models/gemma4_31b/export.py:106
↓ 1 callersMethod_get_pad_constant_value
Get scalar NumPy array with constant value used as constant value for 'Pad' operator. :param input_type: Input tensor type. :return:
backends/nxp/backend/ir/converter/node_converters/ops_converters/max_pool2d_with_indices_converter.py:125
↓ 1 callersMethod_get_pad_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:368
↓ 1 callersFunction_get_per_channel_observers
(module: torch.nn.Module)
backends/arm/test/ops/test_transpose_conv2d.py:162
↓ 1 callersFunction_get_permutation_for_single_unitary_change_in_NC_dims
Get permutation used by prepended 'Transpose' operator if there's only single unitary dimension change (single added/removed dimension with v
backends/nxp/backend/ir/converter/node_converters/shared/reshape_transposition.py:84
↓ 1 callersMethod_get_permute_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:302
↓ 1 callersMethod_get_placeholder_map
( self, node: torch.fx.Node, decomposed_module: torch.fx.GraphModule, )
backends/arm/_passes/get_decomposition_pass.py:46
↓ 1 callersMethod_get_prompt_dynamic_shapes
(self)
examples/models/llava/model.py:412
↓ 1 callersFunction_get_pytorch_cuda_url
Get the appropriate PyTorch CUDA URL for the given CUDA version. Args: cuda_version: tuple of (major, minor) version numbers
install_utils.py:139
↓ 1 callersMethod_get_qconfig
()
backends/cortex_m/test/test_helpers_passes_utils.py:43
↓ 1 callersMethod_get_qnn_lowering_recipe
Get QNN lowering recipe with optional precision and SoC target
backends/qualcomm/recipes/qnn_recipe_provider.py:148
↓ 1 callersMethod_get_qspec
()
backends/cortex_m/test/test_helpers_passes_utils.py:32
↓ 1 callersMethod_get_quant_config
Select the quant config for a node based on priority. Priority order: 1. Per-block quant config if block_size is set for
backends/qualcomm/quantizer/quantizer.py:434
↓ 1 callersMethod_get_quantizable_input_indices
(self)
backends/nxp/edge_passes/remove_io_quant_ops_pass.py:21
↓ 1 callersMethod_get_quantizable_output_indices
(self)
backends/nxp/edge_passes/remove_io_quant_ops_pass.py:50
↓ 1 callersFunction_get_quantize_ops
()
backends/cadence/aot/compiler_funcs.py:452
↓ 1 callersMethod_get_quantized_bounds
( self, node: Node, qparams_dict: dict[str, Any] )
backends/cortex_m/passes/quantized_clamp_activation_pass.py:44
↓ 1 callersMethod_get_random_inputs
(cls)
exir/tests/test_serde.py:210
↓ 1 callersMethod_get_recipe_for_quant_type
(self, quant_type: QuantType)
backends/xnnpack/test/recipes/test_xnnpack_recipes.py:175
↓ 1 callersFunction_get_relpath
(target, base)
docs/source/custom_directives.py:53
↓ 1 callersMethod_get_rescale_qparams
Get the quantization parameters of the INT32 inputs/outputs that will surround the node after the new RESCALE ops have been inserted.
backends/arm/_passes/insert_rescales_pass.py:295
↓ 1 callersFunction_get_reshape_patterns_and_replacements
()
exir/passes/_quant_patterns_and_replacements.py:910
↓ 1 callersFunction_get_round_decomposition_ops
Returns the (full_op, ge_op, add_op, sub_op, floor_op, ceil_op, where_op) for the given round operation. The ops depend on whether the round
backends/arm/_passes/decompose_round_pass.py:19
↓ 1 callersMethod_get_safe_chunk_limit_for_axis
( cls, effective_shape: Sequence[int], violating_combos: Sequence[tuple[int, ...]],
backends/arm/_passes/decompose_permute_for_u55_pass.py:221
↓ 1 callersMethod_get_sample_etdump_flatcc
Helper for getting a sample ETDumpFlatCC object with 3 RunData: - run_data_1 has signature_a with just profile_1 - run_data_2
devtools/inspector/tests/event_blocks_test.py:113
↓ 1 callersMethod_get_sample_etdump_flatcc_debug_events_only
Helper for getting a sample ETDumpFlatCC object with RunData signature_a and (debug_event_delegated, debug_event_non_delegated, no pr
devtools/inspector/tests/event_blocks_test.py:305
↓ 1 callersMethod_get_sample_etdump_flatcc_inconsistent_debug_data
()
devtools/inspector/tests/event_blocks_test.py:178
↓ 1 callersMethod_get_sample_etdump_flatcc_profiling_and_debugging
Helper for getting a sample ETDumpFlatCC object with 3 RunData: - run_data_1 has signature_a with (debug_event_1, profile_event_1)
devtools/inspector/tests/event_blocks_test.py:215
↓ 1 callersFunction_get_schema_bytes
Returns the schema.fbs bytes, caching the result across calls.
backends/xnnpack/serialization/xnnpack_graph_serialize.py:311
↓ 1 callersFunction_get_schema_info
( constant_tensor_alignment: Optional[int], delegate_alignment: Optional[int] )
exir/_serialize/_flatbuffer_program.py:198
↓ 1 callersFunction_get_shape
(node: torch.fx.Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/permute_copy_converter.py:37
↓ 1 callersMethod_get_sharding_get_pattern
(self)
examples/qualcomm/oss_scripts/llama/wrappers/llm_wrappers.py:1082
↓ 1 callersMethod_get_shared_clique
(self, root_node: Node)
backends/arm/quantizer/arm_quantizer_utils.py:555
↓ 1 callersMethod_get_shared_pool_input
(node: Node | None)
backends/cortex_m/quantizer/quantization_configs.py:104
↓ 1 callersMethod_get_single_arg_node
Get the single input arg of a unary op node.
backends/vulkan/patterns/rms_norm.py:220
↓ 1 callersMethod_get_slice_empty_gm
(self)
backends/cadence/aot/tests/test_replace_ops_passes.py:3043
↓ 1 callersFunction_get_slice_patterns_and_replacements
()
exir/passes/_quant_patterns_and_replacements.py:963
↓ 1 callersFunction_get_slice_scatter_decomposition
(op)
backends/arm/_passes/decompose_slice_scatter_pass.py:22
← previousnext →6,001–6,100 of 28,493, ranked by callers