MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 4 callersMethodBuffers
(self, j)
backends/nxp/backend/ir/lib/tflite/Model.py:105
↓ 4 callersMethodData
(self, j: int)
exir/_serialize/generated/executorch_flatbuffer/BackendDelegateInlineData.py:33
↓ 4 callersFunctionEXIRATenDialectVerifier
Returns a verifier class that runs ATen dialect specific checks on the graph module.
exir/verification/verifier.py:84
↓ 4 callersMethodInit
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/SubsegmentOffsets.py:29
↓ 4 callersMethodQuantization
(self)
backends/nxp/backend/ir/lib/tflite/Tensor.py:90
↓ 4 callersMethodScale
(self, j)
backends/nxp/backend/ir/lib/tflite/QuantizationParameters.py:99
↓ 4 callersMethodZeroPoint
(self, j)
backends/nxp/backend/ir/lib/tflite/QuantizationParameters.py:129
↓ 4 callersMethod__init__
(self, *args, **kwargs)
exir/dialects/edge/arg/model.py:189
↓ 4 callersMethod__init__
(self)
exir/verification/test/test_verifier.py:131
↓ 4 callersMethod__init__
(self)
exir/tests/control_flow_models.py:78
↓ 4 callersMethod__init__
(self)
backends/cortex_m/test/tester.py:37
↓ 4 callersMethod__init__
(self)
backends/cortex_m/test/models/test_torch_functions.py:50
↓ 4 callersMethod__init__
( self, int_list: List[int], start_function: Callable[[fb.Builder, int], None],
backends/nxp/backend/ir/tflite_generator/meta/meta.py:173
↓ 4 callersMethod__init__
(self, in_channels: int, perm: tuple[int, ...])
backends/nxp/tests/ir/converter/node_converter/test_permute_copy_converter.py:42
↓ 4 callersMethod__init__
(self)
backends/arm/test/ops/test_conv_combos.py:178
↓ 4 callersMethod__init__
(self, **kwargs)
backends/xnnpack/partition/config/gemm_configs.py:539
↓ 4 callersMethod__init__
(self)
backends/xnnpack/test/ops/test_to_copy.py:90
↓ 4 callersMethod__init__
(self)
backends/xnnpack/test/passes/test_remove_redundant_copy_pass.py:109
↓ 4 callersMethod__init__
(self, *args)
backends/apple/mps/operators/indexing_ops.py:73
↓ 4 callersMethod__init__
(self)
backends/apple/coreml/test/test_coreml_recipes.py:353
↓ 4 callersMethod__init__
(self, in_channels: int, out_channels: int, stride: int = 1)
backends/cuda/tests/test_cuda_export.py:137
↓ 4 callersMethod__init__
Transformer model. Args: params (ModelArgs): model configuration parameters. layers (nn.ModuleList): list of
examples/models/llama/llama_transformer.py:253
↓ 4 callersMethod__init__
Initialize the RMSNorm normalization layer. Args: dim (int): The dimension of the input tensor. eps (float,
examples/models/llama/norm.py:13
↓ 4 callersMethod__init__
(self, config: ModelArgs)
examples/models/llama/static_attention.py:744
↓ 4 callersMethod__init__
( self, max_batch_size: int, max_context_length: int, n_heads: int, he
examples/models/llama/source_transformation/custom_kv_cache.py:308
↓ 4 callersMethod__init__
( self, args: argparse.Namespace, pte_paths: Dict, runtime_tokenizer_path: str
examples/qualcomm/oss_scripts/llama/decoder_runtime_evaluator.py:89
↓ 4 callersMethod__init__
(self)
devtools/inspector/tests/inspector_test.py:76
↓ 4 callersMethod__init__
(self)
extension/llm/export/test_export_passes.py:29
↓ 4 callersMethod_affine_meta_param
(param: Any)
backends/samsung/serialization/enn_graph_schema.py:127
↓ 4 callersMethod_annotate_all_patterns
( self, model: torch.fx.GraphModule, quantization_config: Optional[QuantizationConfig]
backends/xnnpack/quantizer/xnnpack_quantizer.py:391
↓ 4 callersMethod_apply_qk_norm
Apply QK normalization before or after RoPE. Args: qs (list): List of queries. ks (list, optional): List of keys. Def
examples/models/llama/static_attention.py:1095
↓ 4 callersMethod_arg_contains_symbolic_shape
(arg)
backends/arm/_passes/fuse_constant_ops_pass.py:67
↓ 4 callersFunction_assert_df_quality
For each row in the AOT-vs-runtime comparison DataFrame, assert quality. - FULL_TENSOR rows: SQNR (signal-to-noise ratio in dB) must exceed
devtools/intermediate_output_tap/tests/test_xnnpack_e2e.py:196
↓ 4 callersMethod_assert_outputs_equal
Helper testing function that asserts that the model output and the reference output are equal with some tolerance. Due to numerical d
backends/test/harness/tester.py:406
↓ 4 callersMethod_assert_outputs_equal
(self, model_output, ref_output)
backends/qualcomm/tests/utils.py:251
↓ 4 callersFunction_assert_snr
Assert signal-to-noise ratio (in dB) of `actual` vs `expected` >= threshold. SNR = 20*log10(||expected||_2 / ||actual - expected||_2) Why SN
backends/cuda/tests/test_int4_matmul.py:33
↓ 4 callersMethod_assert_specs_device
Assert every spec has the expected device (and optionally index).
exir/tests/test_propagate_device_pass.py:154
↓ 4 callersFunction_assert_successful_delegation
(model, input_shape, mocker, atol=0)
backends/nxp/tests/ir/converter/node_converter/test_leaky_relu_converter.py:33
↓ 4 callersMethod_build_model
(self, args, sink_size, window_size, use_custom_sdpa=False)
examples/models/llama/source_transformation/test_attention_sink.py:326
↓ 4 callersMethod_build_polynomial
Helper function to build polynomial from coefficients and variable.
backends/arm/_passes/decompose_asin_and_acos_pass.py:75
↓ 4 callersMethod_build_torchao_quantized_recipe
Build TorchAO-based quantization recipe
backends/apple/coreml/recipes/coreml_recipe_provider.py:291
↓ 4 callersMethod_canonicalize
(val: int, dim_size: int)
backends/cadence/aot/fuse_ops.py:1022
↓ 4 callersMethod_capture_graph_for_xnnpack
( self, module: torch.nn.Module, sample_inputs: Tuple[torch.Tensor] )
backends/xnnpack/test/test_xnnpack_utils.py:157
↓ 4 callersFunction_collect_entry
( path: str, obj: object, entries: dict[str, dict[str, str]], )
backends/arm/scripts/generate_public_api_manifest.py:83
↓ 4 callersFunction_combine_values
(lhs: _ExactValues, rhs: _ExactValues, fn)
backends/arm/_passes/symbolic_value_range.py:52
↓ 4 callersFunction_compare
Check whether the search_for str matches the search_in str. Match can mean "identical" or "part of" depending on the `exact` flag.
exir/backend/operator_support.py:10
↓ 4 callersMethod_compare_eager_quantized_model_outputs
Utility to compare eager quantized model output with session output after xnnpack lowering
backends/xnnpack/test/recipes/test_xnnpack_recipes.py:52
↓ 4 callersMethod_compare_execution_plans
( self, plan_single: ExecutionPlan, plan_merged: ExecutionPlan )
exir/emit/test/test_emit.py:1208
↓ 4 callersMethod_compare_outputs
(self, executorch_program, eager_program, example_inputs)
backends/apple/coreml/test/test_enumerated_shapes.py:24
↓ 4 callersMethod_constant_to_evalue
Converts a constant value to an EValue. Returns an EValue given the Python representation and JIT type. On common paths there should
exir/emit/_emitter.py:540
↓ 4 callersFunction_count_prim_ops
(prim_ops_source: Path)
codegen/tools/gen_max_kernel_num.py:57
↓ 4 callersMethod_create_baseline_attention
Create baseline attention with regular KV cache.
examples/models/llama/tests/test_ring_attention.py:46
↓ 4 callersFunction_create_example_inputs
Create example inputs for a given input length. Args: model_args: Model configuration arguments input_len: Sequence length f
examples/apple/coreml/llama/export_static_llm_coreml.py:173
↓ 4 callersMethod_create_mock_model
Create a mock model with transformer blocks containing the given attention modules.
examples/models/llama/tests/test_replace_kv_cache.py:68
↓ 4 callersFunction_create_projection
Create a Linear or LoRALinear projection based on target_modules config.
examples/models/llama/attention.py:325
↓ 4 callersMethod_create_qdq_node
( self, graph_module: GraphModule, qtype: QType, input_node: torch.fx.Node,
backends/samsung/_passes/insert_qdq.py:39
↓ 4 callersMethod_create_ring_attention
Create attention with ring buffer KV cache.
examples/models/llama/tests/test_ring_attention.py:86
↓ 4 callersFunction_create_xnnpack_flow_base
( name: str, quantize_stage_factory: Callable[..., Quantize] | None = None )
backends/test/suite/flows/xnnpack.py:18
↓ 4 callersFunction_decompress
Decompress nibble-packed uint8 + fp32 norms to float tensor.
backends/cuda/tests/test_tq4_sdpa.py:71
↓ 4 callersFunction_dequant_int4
Unpack INT4 weights and dequantize. w_packed: [E, N, K//2] int8 scale: [E, N, K//group_size] bf16 Returns: [E, N, K] bf16
backends/cuda/benchmarks/benchmark_moe.py:67
↓ 4 callersFunction_deserialize_to_flat_tensor
Deserializes a flatbuffer to a FlatTensor and returns the dataclass.
extension/flat_tensor/serialize/serialize.py:73
↓ 4 callersFunction_do_annotate_conv_bn
Given a function that takes in a `conv_fn` and returns a conv-bn[-relu] pattern, return a list of annotated partitions. The output of th
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:484
↓ 4 callersFunction_emit_conv_transpose
Shared logic for transposed convolution emission. Handles weight transform, input/output transposition, bias, and node emission for all spati
backends/mlx/ops.py:2461
↓ 4 callersFunction_ensure_tensor
(value: TensorLike)
backends/arm/test/tester/analyze_output_utils.py:24
↓ 4 callersFunction_expr_to_int
(sym_expr: sympy.Basic)
backends/arm/_passes/symbolic_value_range.py:17
↓ 4 callersFunction_fbs_type_to_python
Convert FBS type to Python type annotation. When required=False, the result is wrapped in Optional[…] for all types (scalars, lists, and refe
backends/mlx/serialization/generate.py:517
↓ 4 callersFunction_find_nodes
(gm, target)
backends/mlx/test/test_passes.py:67
↓ 4 callersFunction_flatbuffer_t_class
(dataclass_type: type)
exir/_serialize/_flatbuffer_program.py:45
↓ 4 callersFunction_format_arg
(evalue_idx: int)
exir/print_program.py:191
↓ 4 callersMethod_format_string_for_array
Create a format string which will represent the provided array. It also handles the necessary alignment. E.g. for array [1,2,3] we get '3s13x'
backends/nxp/nxp_backend.py:283
↓ 4 callersMethod_gen_from_event
Given a DebugEvent, extract the fields into a signature DebugEvents from ETDump default to "" and -1 when the field is not populated
devtools/inspector/_inspector.py:178
↓ 4 callersMethod_get_adb
(self)
examples/qualcomm/oss_scripts/llama/decoder_runtime_evaluator.py:218
↓ 4 callersFunction_get_control_flow_submodules
Returns a list of submodules used for control flow operations that are in the given toplevel graph (does not look into submodules). Speci
exir/graph_module.py:51
↓ 4 callersMethod_get_coreml_lowering_recipe
Get CoreML lowering recipe with optional precision
backends/apple/coreml/recipes/coreml_recipe_provider.py:374
↓ 4 callersFunction_get_elu_parameter
(args, kwargs, index, name)
backends/arm/_passes/decompose_elu_pass.py:54
↓ 4 callersMethod_get_export_session
(self, stages: List[StageType])
export/tests/test_export_session.py:248
↓ 4 callersFunction_get_field_kind
Classify a field into a canonical kind string. This is the single source of truth for field classification, used by all generators (Python bu
backends/mlx/serialization/generate.py:886
↓ 4 callersMethod_get_map_body
Extract the map body submodule from a graph containing map_impl.
backends/cadence/aot/tests/test_fusion_ops_passes.py:1320
↓ 4 callersMethod_get_padding_truncation_strategies
Find the correct padding/truncation strategy.
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:2819
↓ 4 callersMethod_get_partition_result
Helper method to get partition result for a given module.
backends/cuda/tests/test_cuda_partitioner.py:25
↓ 4 callersMethod_get_random_inputs
(cls)
exir/program/test/test_program.py:68
↓ 4 callersFunction_get_sdk_dir
Get the versioned SDK cache directory (e.g. ~/.cache/executorch/qnn/sdk-2.37.0.250724/).
backends/qualcomm/scripts/download_qnn_sdk.py:83
↓ 4 callersFunction_get_shape
(node: torch.fx.Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/cat_converter.py:32
↓ 4 callersFunction_get_specs
(gm: torch.fx.GraphModule)
exir/tests/test_memory_planning.py:1109
↓ 4 callersMethod_get_sym_and_fake_tensor_ret
( self, val: Tuple[Union[torch.SymInt, torch.BoolType, torch.FloatType, FakeTensor]],
exir/emit/_emitter.py:1380
↓ 4 callersFunction_greedy_decode
Greedy decode using forward(tokens, input_pos) signature.
examples/models/qwen3_5_moe/test_turboquant.py:85
↓ 4 callersFunction_install_cache
(attr_name)
backends/mlx/llm/source_transformation.py:129
↓ 4 callersMethod_is_annotated
(self, node: Node)
backends/arm/quantizer/arm_quantizer_utils.py:507
↓ 4 callersFunction_is_kv_shared_layer
Check if this layer uses shared K/V from a donor layer (YOCO).
examples/models/llama/static_attention.py:224
↓ 4 callersFunction_is_node
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:34
↓ 4 callersFunction_is_rescale
(node: Node)
backends/arm/_passes/fuse_consecutive_rescales_pass.py:108
↓ 4 callersMethod_is_squeeze_unsqueeze_view
Check if a node is a squeeze, unsqueeze, or view_copy that only adds or removes a single dim of size 1.
backends/transforms/remove_permutes_around_elementwise_ops.py:95
↓ 4 callersMethod_is_tosa_dialect_op
(target)
backends/arm/_passes/fuse_constant_ops_pass.py:59
↓ 4 callersFunction_is_view_copy
(node: torch.fx.Node)
exir/passes/normalize_view_copy_base_pass.py:17
↓ 4 callersFunction_is_view_copy
(node: torch.fx.Node)
exir/passes/replace_view_copy_with_view_pass.py:29
↓ 4 callersFunction_lower_ep_to_edge
Lower an ExportedProgram to an EdgeProgramManager (in edge IR).
backends/cadence/aot/compiler.py:281
↓ 4 callersMethod_make_args
(self, **kwargs)
examples/models/llama/tests/test_qwen3_5_attention.py:17
↓ 4 callersMethod_make_args
(self, max_context_len=128)
examples/models/llama/source_transformation/test_attention_sink.py:310
↓ 4 callersMethod_make_cache
(self, window=4, heads=2, head_dim=8)
examples/models/gemma4_31b/tests/test_pipeline.py:215
↓ 4 callersFunction_make_case
( tensor_shape: Tuple[int, ...], target_shape: Tuple[int, ...], )
backends/arm/test/ops/test_as_strided_copy.py:43
← previousnext →1,301–1,400 of 28,493, ranked by callers