MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersMethod_fuse
(self, graph_module: torch.fx.GraphModule)
backends/qualcomm/_passes/fuse_consecutive_transpose.py:74
↓ 1 callersMethod_fuse
(self, graph_module: torch.fx.GraphModule)
backends/qualcomm/_passes/fuse_consecutive_cast.py:99
↓ 1 callersMethod_fuse_across_view
Fuse permute -> view(squeeze/unsqueeze) -> permute into a view_copy.
backends/transforms/fuse_cascaded_transpose_or_permute_ops.py:105
↓ 1 callersMethod_fuse_direct
Fuse two adjacent permute/transpose ops.
backends/transforms/fuse_cascaded_transpose_or_permute_ops.py:54
↓ 1 callersFunction_fuse_linear_bn
Fuse Linear + BatchNorm1d pairs in the model. The TOSA quantizer does not annotate linear+batch_norm patterns, so we fold the BatchNorm1d int
backends/arm/test/models/test_deep_autoencoder.py:24
↓ 1 callersMethod_fuse_nodes
Takes a node with only parameter inputs and replaces it with one constant tensor node with the operations already carried out on the d
backends/arm/_passes/fuse_constant_ops_pass.py:105
↓ 1 callersMethod_fuse_ops
Fuse a BatchNorm node into the preceding convolution or linear node. Update the fused node's weight and bias, rewire users of the Bat
backends/xnnpack/_passes/fuse_batch_norm.py:147
↓ 1 callersFunction_fuse_projection_weights
Fuse separate projection weights into single matrices.
examples/models/qwen3_5_moe/model.py:805
↓ 1 callersFunction_fuse_quantized_cat
fuse "dequantize -> cat -> quantize" pattern to cat operator, only happens if the quantization parameters for dequantize for all the inputs matche
exir/passes/quant_fusion_pass.py:21
↓ 1 callersMethod_fuse_with_existing_bias
Fuse the `linear` and `add` nodes provided the `linear` already has a bias. The fusion can only be done if both the "biases" have static data
backends/nxp/aten_passes/fuse_linear_and_add_pass.py:32
↓ 1 callersMethod_fuse_without_existing_bias
Fuse the `linear` and `add` provided the `linear` does not already have a bias. :return: True, if the nodes were successfully merged. False,
backends/nxp/aten_passes/fuse_linear_and_add_pass.py:83
↓ 1 callersFunction_gaussian_window
( channels: int, device: torch.device, dtype: torch.dtype, height: int, width: int, )
examples/arm/super_resolution_example_vgf/model_export/common.py:336
↓ 1 callersMethod_gen_code_base_type
( self, arg_name: str, out_name: str, ctype: CType )
codegen/api/unboxing.py:115
↓ 1 callersMethod_gen_code_list_type
( self, arg_name: str, out_name: str, t: ListType, ctype: CType )
codegen/api/unboxing.py:138
↓ 1 callersMethod_gen_code_optional_type
( self, arg_name: str, out_name: str, t: OptionalType, ctype: CType )
codegen/api/unboxing.py:122
↓ 1 callersFunction_gen_edge_manager_for_partitioners
Generates EdgeProgramManager for subsequent lowering to the partitioners specified by partitioner. The EdgeProgramManager is generated from
exir/program/_program.py:1176
↓ 1 callersFunction_gen_etrecord
( edge_program: EdgeProgramManager, et_program: ExecutorchProgramManager, output_dir: Path, )
backends/cadence/aot/compiler.py:499
↓ 1 callersMethod_gen_method_test_suite
(self, bptd: BundledProgramTestData)
backends/cadence/runtime/executor.py:183
↓ 1 callersFunction_generate
( inputs: DecoderInputs, pos, module: torch.fx.GraphModule, tokenizer, tok_embedding,
examples/qualcomm/oss_scripts/llama/decoder_utils.py:518
↓ 1 callersFunction_generate_chain
( rng: random.Random, start_shape: list[int], steps: int, )
backends/arm/test/misc/test_high_rank_permute_view_invariants.py:106
↓ 1 callersFunction_generate_compound_type
Generate a Python dataclass for a compound type (IntOrVid, etc.) from schema.
backends/mlx/serialization/generate.py:293
↓ 1 callersFunction_generate_loader_case
Generate a switch case for loading an op node.
backends/mlx/serialization/generate.py:1080
↓ 1 callersFunction_generate_op_builder_method
Generate a _build_XxxNode method for the serializer class.
backends/mlx/serialization/generate.py:733
↓ 1 callersMethod_generate_random_const_tensors
Helper function to generate `num_tensor` buffers of random sizes and random contents, we return a tuple of (list_of_buffers, list_of_
backends/vulkan/test/test_serialization.py:33
↓ 1 callersMethod_generate_single_node_partition
( self, gm: torch.fx.GraphModule )
exir/backend/test/op_partitioner_demo.py:228
↓ 1 callersMethod_generate_test
(op_name: str)
backends/test/facto/test_facto.py:147
↓ 1 callersFunction_get_16_bit_quant_config
()
backends/arm/test/ops/test_sigmoid_32bit.py:18
↓ 1 callersFunction_get_32_bit_quant_config
()
backends/arm/test/ops/test_sigmoid_32bit.py:38
↓ 1 callersMethod_get_4b_dqconfig
()
backends/xnnpack/test/ops/test_linear.py:227
↓ 1 callersMethod_get_act_deps
( self, node: torch.fx.Node, ep: ExportedProgram, precision: ConfigPrecisionType )
backends/xnnpack/partition/config/gemm_configs.py:256
↓ 1 callersFunction_get_activation_qspec
( dtype, is_symmetric, is_qat, observer_cls=MinMaxObserver, quant_min=None, quant_max=
backends/samsung/quantizer/qconfig.py:51
↓ 1 callersMethod_get_add_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:49
↓ 1 callersMethod_get_allocation_info
Returns the allocation info for a given TensorSpec.
exir/emit/_emitter.py:345
↓ 1 callersMethod_get_aot_debug_handle_to_stack_traces
Get a mapping from debug handle to stack traces from the given graph module. Args: reference_graph_module: The resolved
devtools/inspector/_inspector.py:1284
↓ 1 callersFunction_get_args
()
backends/arm/scripts/evaluate_model.py:70
↓ 1 callersFunction_get_args
()
backends/arm/scripts/aot_arm_compiler.py:536
↓ 1 callersFunction_get_argument
(a: Argument)
exir/serde/export_serialize.py:2416
↓ 1 callersFunction_get_aspect_ratio_preserving_size
Compute target size preserving aspect ratio, both dims divisible by 48.
examples/models/gemma4/image_utils.py:84
↓ 1 callersFunction_get_atan_ops
Return the primitive ops required..
backends/arm/_passes/decompose_atan_pass.py:24
↓ 1 callersFunction_get_atanh_ops
Return the primitive ops required..
backends/arm/_passes/decompose_atanh_pass.py:22
↓ 1 callersMethod_get_aten_avg_pool1d_gm
( self, input_shape: Tuple[int, int, int], kernel_size: int )
backends/cadence/aot/tests/test_replace_ops_passes.py:3290
↓ 1 callersMethod_get_aten_avg_pool2d_gm
( self, input_shape: Tuple[int, int, int, int], kernel_size: Tuple[int, int] )
backends/cadence/aot/tests/test_replace_ops_passes.py:3302
↓ 1 callersMethod_get_attention_output
Output of MHA block or input of output projection
backends/qualcomm/_passes/convert_mha_to_sha.py:123
↓ 1 callersMethod_get_attr
(self, graph_module: GraphModule, target: str)
backends/arm/_passes/deduplicate_get_attr_pass.py:27
↓ 1 callersMethod_get_attr_func
(self, attr)
backends/arm/operators/op_tosa_conv2d.py:37
↓ 1 callersMethod_get_attr_func
(self, attr)
backends/arm/operators/op_tosa_transpose_conv2d.py:36
↓ 1 callersFunction_get_attribute_or_constants
( exported_program: ExportedProgram, node: torch.fx.Node )
exir/backend/canonical_partitioners/duplicate_constant_node_pass.py:19
↓ 1 callersMethod_get_avg_pool2d_replacement
(self, args, meta)
backends/cortex_m/passes/quantized_op_fusion_pass.py:311
↓ 1 callersFunction_get_avgpool_post_pad
Compute the post-padding configuration for avg_pool2d when pre- materializing explicit zero padding ahead of the pooling operation. Given the
backends/arm/_passes/decompose_avg_pool2d_pass.py:62
↓ 1 callersMethod_get_batch_size_from_conv
Extract batch size from convolution node's output shape. Returns None if shape metadata is unavailable, which can occur when
backends/cortex_m/passes/convert_to_cortex_m_pass.py:54
↓ 1 callersMethod_get_batchnorm_user
Check if conv has a single user that is batch_norm, and all batch_norm users only access the first tuple element. Returns the bn node
backends/cadence/aot/fuse_ops.py:233
↓ 1 callersMethod_get_batchnorm_user
Check if conv has a single user that is quantized batch_norm with matching output scale/zero_point. Returns the bn node or None.
backends/cadence/aot/fuse_ops.py:390
↓ 1 callersMethod_get_bias_deps
( self, node: torch.fx.Node, ep: ExportedProgram, precision: ConfigPrecisionType )
backends/xnnpack/partition/config/gemm_configs.py:234
↓ 1 callersFunction_get_binary_op_patterns_and_replacements
( binary_op: Callable, qbinary_op: Callable, qbinary_scalar_op: Callable, qbinary_relu_op: Cal
exir/passes/_quant_patterns_and_replacements.py:622
↓ 1 callersFunction_get_binary_ops_patterns_and_replacements
()
exir/passes/_quant_patterns_and_replacements.py:887
↓ 1 callersMethod_get_bmm_replacement
(self, node)
backends/cortex_m/passes/convert_to_cortex_m_pass.py:383
↓ 1 callersFunction_get_bn_eps
(bn_node: Node)
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:65
↓ 1 callersMethod_get_bn_train_eval_ops
(self)
backends/xnnpack/test/quantizer/test_pt2e_quantization.py:375
↓ 1 callersMethod_get_buffer_sha256
(self, buffer_idx: int)
exir/_serialize/_named_data_store.py:96
↓ 1 callersFunction_get_cache_path
(key, ext)
docs/source/custom_directives.py:32
↓ 1 callersMethod_get_candidate_axes
( effective_shape: Sequence[int], violating_combos: Sequence[tuple[int, ...]] )
backends/arm/_passes/decompose_permute_for_u55_pass.py:206
↓ 1 callersMethod_get_candidate_groups
(self, user_nodes)
backends/arm/_passes/fuse_duplicate_users_pass.py:87
↓ 1 callersMethod_get_channel_spatial_indices
(node: Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/prelu_converter.py:47
↓ 1 callersMethod_get_channels
Get the number of channels from the node's input shape.
backends/nxp/backend/ir/converter/node_converters/ops_converters/softmax_converter.py:50
↓ 1 callersFunction_get_class_from_union
Search through all possible types in the Union and select the type we want to unpack (note in the serialization of a PyObject to JSON, the typ
exir/_serialize/_dataclass.py:49
↓ 1 callersFunction_get_compile_spec
(args)
backends/arm/scripts/evaluate_model.py:218
↓ 1 callersMethod_get_compression_ratio
Compute the compression ratio of the outputted TOSA flatbuffer.
backends/arm/util/arm_model_evaluator.py:242
↓ 1 callersMethod_get_constants
(self, graph, graph_module, node, is_edge, const_cache)
backends/qualcomm/_passes/decompose_atan2.py:66
↓ 1 callersMethod_get_convolution_replacement
(self, node)
backends/cortex_m/passes/convert_to_cortex_m_pass.py:141
↓ 1 callersMethod_get_core_aten_ops_exception_list
(self)
exir/verification/verifier.py:113
↓ 1 callersFunction_get_ct_inputs
(ep, emap: _SymbolicShapeToEnumeratedShapeMap)
backends/apple/coreml/compiler/enumerated_shape_utils.py:212
↓ 1 callersMethod_get_data_dim_order
Return dim_order of data tensor.
backends/arm/_passes/normalize_index_put_none_indices_pass.py:50
↓ 1 callersMethod_get_decomposable_integer_exponent
(exp)
backends/arm/_passes/decompose_int_pow_pass.py:25
↓ 1 callersFunction_get_decomposition
(op)
backends/arm/_passes/decompose_masked_fill_pass.py:23
↓ 1 callersFunction_get_decomposition
(op)
backends/arm/_passes/decompose_adaptive_avg_pool2d_pass.py:23
↓ 1 callersMethod_get_decomposition
(op)
backends/arm/_passes/decompose_grouped_conv_pass.py:52
↓ 1 callersMethod_get_decomposition
(self, op)
backends/arm/_passes/convert_int64_output_ops_to_int32.py:70
↓ 1 callersFunction_get_decorated_ops
(op)
backends/arm/_passes/decorate_fp32_to_int32_casting_pass.py:16
↓ 1 callersFunction_get_delegate_blob_data
( node: torch.fx.Node, lowered_backend_module: LoweredBackendModule, delegate_deserializers: Optio
devtools/size_analysis_tool/size_analysis_tool.py:34
↓ 1 callersFunction_get_dequant_node_for_placeholder
Return the single dequant user of a uint8 placeholder, or None.
backends/cadence/aot/compiler_funcs.py:494
↓ 1 callersFunction_get_dequantize_ops
()
backends/cadence/aot/compiler_funcs.py:461
↓ 1 callersFunction_get_dtype_count
(model: torch.nn.Module)
backends/arm/test/ops/test_depthwise_conv.py:233
↓ 1 callersFunction_get_dtype_count
(model: torch.nn.Module)
backends/arm/test/ops/test_conv2d.py:537
↓ 1 callersFunction_get_dtype_count
(model: torch.nn.Module)
backends/arm/test/ops/test_conv3d.py:528
↓ 1 callersFunction_get_dtype_distribution
Counts the occurences of placeholder and call_function dtypes in a graph. The result is a tuple of Counters (placeholder_distribution, call_f
backends/arm/test/tester/arm_tester.py:1134
↓ 1 callersMethod_get_effective_output_qparams
Return the quantized output domain for a conv node. Quantization annotation may place output qparams on a following activation instea
backends/arm/_passes/rewrite_conv_pass.py:227
↓ 1 callersFunction_get_embedding_ops_patterns_and_replacements
()
exir/passes/_quant_patterns_and_replacements.py:1267
↓ 1 callersFunction_get_embedding_ops_patterns_and_replacements_torchao
( # noqa C901 node_value_dict, )
exir/passes/_quant_patterns_and_replacements.py:989
↓ 1 callersFunction_get_eos_token_id
(text_processor)
backends/mlx/examples/llm/run_llm_hf.py:93
↓ 1 callersFunction_get_et_kernel_metadata_from_ops_yaml
(ops_yaml_path: str)
codegen/tools/gen_oplist.py:141
↓ 1 callersMethod_get_example_np_data
(example)
backends/nxp/tests/dataset_creator.py:182
↓ 1 callersMethod_get_expected_keys
Get expected parameter keys for a recipe type
backends/apple/coreml/recipes/coreml_recipe_provider.py:129
↓ 1 callersMethod_get_expected_keys
Get expected parameter keys for a recipe type
backends/qualcomm/recipes/qnn_recipe_provider.py:69
↓ 1 callersFunction_get_expm1_decomposition
Returns the decomposition of the given aten.expm1 operation into its equivalent TOSA-supported operations. This handles both edge dialect ops
backends/arm/_passes/decompose_expm1_pass.py:24
↓ 1 callersFunction_get_extended_header
Returns the extended header of the flat_tensor data, if present and valid.
extension/flat_tensor/serialize/serialize.py:230
↓ 1 callersMethod_get_extensions_string
Return the ``+``-joined extensions segment (e.g., ``+int4+cf``).
backends/arm/tosa/specification.py:304
↓ 1 callersFunction_get_fb_graph
Return the FlatBuffer MLXGraph root object.
backends/mlx/pte_inspector.py:123
↓ 1 callersFunction_get_filter_fn
( weight_map: Dict[str, ReaderTensor] )
examples/models/llama/experimental/load_gguf_q4_0.py:86
↓ 1 callersFunction_get_flatc_path
Returns the path to the flatc executable, caching the result.
exir/_serialize/_flatbuffer.py:261
↓ 1 callersFunction_get_gelu_ops
Returns the operators needed to decompose GELU.
backends/arm/_passes/decompose_gelu_pass.py:25
← previousnext →5,901–6,000 of 28,493, ranked by callers