MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 2 callersFunction_get_op_type
(node_name: str)
devtools/backend_debug/delegation_info.py:124
↓ 2 callersFunction_get_operators
(model_file: str)
codegen/tools/gen_oplist.py:88
↓ 2 callersMethod_get_output_dtype
( self, program: core_schema.Program, plan_idx: int, output_idx: int )
devtools/bundled_program/core.py:235
↓ 2 callersFunction_get_output_filename
Determine output filename for the .pte file.
examples/models/llama/export_llama_lib.py:1305
↓ 2 callersMethod_get_output_qparams_map
(self, node: Node)
backends/arm/_passes/insert_rescales_pass.py:595
↓ 2 callersMethod_get_output_qspec_from_node
( self, node: torch.fx.Node )
backends/arm/test/tester/arm_tester.py:667
↓ 2 callersMethod_get_partition_result
Helper method to get partition result for a given module.
backends/apple/metal/tests/test_metal_partitioner.py:26
↓ 2 callersMethod_get_program_output
( self, program: core_schema.Program, plan_idx: int, output_idx: int )
devtools/bundled_program/core.py:205
↓ 2 callersFunction_get_qparams
(node)
exir/passes/quant_fusion_pass.py:28
↓ 2 callersFunction_get_quantization_config
()
backends/apple/coreml/test/test_coreml_quantizer.py:28
↓ 2 callersFunction_get_quantizer
()
backends/arm/test/quantizer/test_tosa_quantizer_validate.py:21
↓ 2 callersMethod_get_random_inputs
(cls)
exir/program/test/test_program.py:91
↓ 2 callersMethod_get_recipes
Get available recipes with their configurations based on platform.
export/tests/test_target_recipes.py:388
↓ 2 callersMethod_get_rope_freqs
Compute RoPE cos/sin from inv_freq for the current positions.
examples/models/gemma4/text_decoder/gemma4_attention.py:267
↓ 2 callersMethod_get_runtime_intermediate_outputs_and_op_names
Retrieve the runtime intermediate outputs(debug handles and intermediate values mappings) from the event blocks, along with the corre
devtools/inspector/_inspector.py:1336
↓ 2 callersFunction_get_spec_from_node
(node: fx.Node)
exir/passes/memory_planning_pass.py:78
↓ 2 callersMethod_get_split_sizes
(self, n_features, target_split_size, max_splits)
examples/apple/coreml/llama/utils.py:55
↓ 2 callersMethod_get_sym_ret
Returns the emit ret for sym value.
exir/emit/_emitter.py:1364
↓ 2 callersMethod_get_target_key
(self, target: Any)
backends/arm/_passes/fuse_duplicate_users_pass.py:163
↓ 2 callersFunction_get_tensor_bytes
( tensor: Tensor, constant_buffer: list, mutable_data: Optional[list], )
devtools/pte_tool/diff_pte.py:230
↓ 2 callersMethod_get_tensor_constant_from_node
Get the static data from a given node. If it doesn't have any data, return `None`.
backends/nxp/aten_passes/split_group_convolution.py:47
↓ 2 callersFunction_get_tensor_data
(node: torch.fx.Node, tensor: torch.Tensor)
devtools/size_analysis_tool/size_analysis_tool.py:18
↓ 2 callersFunction_get_tensor_from_node
Get tensor from a get_attr node on a GraphModule.
backends/transforms/quantize_fused_convbn_bias_pass.py:96
↓ 2 callersMethod_get_topologically_last_node
Return the node from `nodes` which appears last in the graph.
backends/nxp/aten_passes/split_group_convolution.py:157
↓ 2 callersMethod_get_user_nodes_with_float_input
(self, node: Node)
backends/arm/quantizer/arm_quantizer_utils.py:513
↓ 2 callersMethod_get_weight_deps
( self, node: torch.fx.Node, ep: ExportedProgram, precision: ConfigPrecisionType )
backends/xnnpack/partition/config/gemm_configs.py:545
↓ 2 callersMethod_get_weight_edge
Returns the FX node corresponding to the weight tensor input of a given operator node. Uses the NNCF graph to identify which input po
backends/openvino/quantizer/quantizer.py:429
↓ 2 callersFunction_get_weight_mapping
Get mapping from HuggingFace weight names to custom weight names.
examples/models/gemma4/text_decoder/convert_weights.py:129
↓ 2 callersFunction_get_weighted_mod_bn_pattern
Returns an aten graph corresponding to a sequence of these ops: input -> weighted_mod -> batch_norm -> activation -> output A weighted m
backends/apple/coreml/quantizer/_coreml_quantizer_utils.py:245
↓ 2 callersFunction_get_weighted_mod_pattern
Returns an aten graph corresponding to a sequence of these ops: input -> weighted_mod -> activation -> output A weighted mod is a module
backends/apple/coreml/quantizer/_coreml_quantizer_utils.py:206
↓ 2 callersMethod_group_stats
(self)
examples/qualcomm/oss_scripts/llama/mix_precision_analyzer.py:288
↓ 2 callersMethod_group_to_regex
Converts a normalized group name containing wildcards or bucketed intervals into a regular expression pattern suitable for ``QuantRec
examples/qualcomm/oss_scripts/llama/mix_precision_analyzer.py:269
↓ 2 callersFunction_handle_aggregate
(ty)
exir/serde/schema_check.py:32
↓ 2 callersMethod_has_symbolic_shape
(node: fx.Node)
backends/arm/operator_support/tosa_supported_operators.py:338
↓ 2 callersFunction_hf_to_multimodal_inputs
Convert a HuggingFace AutoProcessor dict to ExecuTorch MultimodalInputs. Currently only support 1 image inside the input. Args: - input
extension/llm/runner/__init__.py:70
↓ 2 callersMethod_infer_format_of_nodes
(self, node: Node)
backends/nxp/backend/node_format_inference.py:100
↓ 2 callersMethod_init_kv
(self)
examples/models/llama/source_transformation/test_quantized_kv_cache.py:30
↓ 2 callersMethod_init_kv
(self)
examples/models/llama/source_transformation/test_sdpa_with_quantized_kv_cache.py:49
↓ 2 callersFunction_insert_flatbuffer_header
Inserts a header just after the magic string of the provided flatbuffer data. Args: flatbuffer_data: The input data to modify. ma
exir/_serialize/_program.py:95
↓ 2 callersFunction_insert_lowered_submodule
( submodule_program: ExportedProgram, owning_program: ExportedProgram, call_submodule_node: torch.
exir/backend/backend_api.py:198
↓ 2 callersMethod_insert_nodes
( self, graph: torch.fx.Graph, pred: torch.fx.Node, permute_node: torch.fx.Nod
backends/transforms/postpone_permute_below_squeeze_view.py:159
↓ 2 callersFunction_insert_op_occurrences_dict
(node_name: str, delegated: bool)
devtools/backend_debug/delegation_info.py:130
↓ 2 callersMethod_insert_rescale
Insert a rescale into the graph, inheriting meta from `from_node`. The node is not connected to anything, that is up to the user.
backends/arm/_passes/insert_rescales_pass.py:455
↓ 2 callersFunction_instantiate_missing_placeholder_val_with_real_inputs
(gm, args)
exir/capture/_capture.py:372
↓ 2 callersFunction_is_add
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:30
↓ 2 callersFunction_is_bmm
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:62
↓ 2 callersFunction_is_buffer
Check if the node is buffer according to the provided graph signature. If it is one return its fqn as well
exir/passes/memory_planning_pass.py:46
↓ 2 callersFunction_is_conv
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:70
↓ 2 callersFunction_is_custom_partition_op
( custom_ops: set[torch._ops.OpOverload], target: object )
backends/arm/tosa/partitioner.py:53
↓ 2 callersMethod_is_delegate_getitem
Return True if *node* is a getitem extracting from a delegate call.
exir/tests/test_propagate_device_pass.py:143
↓ 2 callersFunction_is_directly_representable
( input_size: IntLikeType, output_size: IntLikeType )
backends/arm/tosa/dialect/ops/avg_pool2d_adaptive.py:23
↓ 2 callersMethod_is_identity_dim_order
(dim_order: tuple[int, ...])
backends/arm/_passes/normalize_delegate_io_layout_pass.py:42
↓ 2 callersFunction_is_inplace_of
Return True if `candidate_schema` is the in-place form of `functional_schema`: same input arg types positionally, with the first arg of the ca
exir/passes/reinplace.py:61
↓ 2 callersFunction_is_linear
(mod, fqn)
examples/models/llama/experimental/load_gguf_q4_0.py:89
↓ 2 callersFunction_is_matmul
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:58
↓ 2 callersMethod_is_node_quantized
(self, node: torch.fx.node.Node)
backends/nxp/neutron_partitioner.py:252
↓ 2 callersMethod_is_node_supported_compute
Operator checking function for compute nodes.
backends/nxp/neutron_partitioner.py:266
↓ 2 callersFunction_is_non_float_tensor
Check if the output of a node has a data type other than `torch.float32`. If the output is not `torch.float32`, quantization cannot be performed,
backends/arm/quantizer/quantization_annotator.py:299
↓ 2 callersFunction_is_out_var_node
(node: torch.fx.Node)
exir/memory_planning.py:301
↓ 2 callersMethod_is_per_channel_qparams
( qarg: QuantArgs | None, )
backends/arm/_passes/decompose_grouped_conv_pass.py:173
↓ 2 callersFunction_is_rescale
(node)
backends/arm/test/passes/test_rescale_optimization.py:85
↓ 2 callersMethod_is_shape_arg
Return True when `arg` looks like a literal shape list/tuple.
backends/arm/_passes/insert_const_shapes.py:30
↓ 2 callersMethod_is_supported_in_IR
Check if the `node` can be converted to the intermediate representation. Classes which implement conversion for individual operators must
backends/nxp/backend/ir/converter/node_converter.py:80
↓ 2 callersMethod_is_supported_on_target
Check if the node is supported on the target platform. Child classes should overwrite this method to implement specific target checks. The
backends/nxp/backend/ir/converter/node_converter.py:98
↓ 2 callersMethod_is_tensor_of_dtype
(self, node_val, dtype: torch.dtype)
backends/qualcomm/_passes/i64_to_i32.py:57
↓ 2 callersFunction_is_tosa_marker_in_file
(tmp_file)
backends/arm/test/misc/test_debug_feats.py:72
↓ 2 callersFunction_is_unstable_api
(obj: object)
backends/arm/scripts/generate_public_api_manifest.py:79
↓ 2 callersFunction_is_upsample_node_tosa_supported
( support_check: SupportedTOSAOperatorCheck, node: fx.Node, tosa_spec: TosaSpecification, *,
backends/arm/operator_support/upsample_support.py:20
↓ 2 callersFunction_is_valid_alignment
Returns True if the alignment is valid, or is None.
exir/_serialize/_flatbuffer.py:29
↓ 2 callersFunction_is_view_copy
(node_: Node)
backends/nxp/tests/ir/edge_passes/test_edge_passes.py:59
↓ 2 callersMethod_is_view_node
Return true if the node is a view node.
backends/cadence/aot/fuse_ops.py:89
↓ 2 callersFunction_iterate_over_fake_user_inputs
(ep)
backends/apple/coreml/compiler/enumerated_shape_utils.py:95
↓ 2 callersFunction_keep_workspace
()
tools/cmake/common/__init__.py:26
↓ 2 callersFunction_l2norm
(x: torch.Tensor, dim: int = -1, eps: float = 1e-6)
examples/models/llama/attention.py:650
↓ 2 callersFunction_ld_library_paths
Split LD_LIBRARY_PATH into ordered directories (skip empties).
backends/qualcomm/scripts/download_qnn_sdk.py:623
↓ 2 callersFunction_literal_assignment
(module: ast.Module, name: str)
examples/models/lfm2/test_lfm2_5_mlx.py:23
↓ 2 callersFunction_load_for_executorch_for_training_from_buffer
( buffer: bytes, )
extension/training/pybindings/_training_module.py:82
↓ 2 callersFunction_load_hf_conditional_model
Load HF Gemma4ForConditionalGeneration, handling quantization_config removal. Returns the loaded model. Caller is responsible for extracting comp
examples/models/gemma4/export_gemma4.py:164
↓ 2 callersFunction_load_mlx_payload
Extract MLX delegate payload from PTE data and parse its header. Raises ``ValueError`` if the delegate cannot be found or the MLX header is i
backends/mlx/pte_inspector.py:92
↓ 2 callersFunction_load_output
(path, shape, dtype)
backends/cuda/tests/test_chunk_gated_delta_rule.py:127
↓ 2 callersFunction_load_output
(path, shape, dtype)
backends/cuda/tests/test_topk.py:83
↓ 2 callersFunction_load_safetensors_weights
Load weights from safetensors files. Args: checkpoint_path: Path to checkpoint directory containing safetensors files. Can be
examples/models/gemma4/text_decoder/convert_weights.py:71
↓ 2 callersFunction_lower_ep_to_cadence_gen_etrecord
( ep: ExportedProgram, output_dir: Optional[str] = None, opt_level: int = 1, mem_algo: int = 0
backends/cadence/aot/compiler.py:442
↓ 2 callersFunction_main
()
devtools/pte_tool/diff_pte.py:868
↓ 2 callersMethod_make_binary_op
Create an OpRepSets for a binary op (two tensor inputs, single tensor output).
backends/vulkan/test/test_vulkan_tensor_repr.py:578
↓ 2 callersFunction_make_causal_mask
( batch_size: int, seq_length: int, device: torch.device )
backends/arm/test/models/Qwen3_VL/test_qwen3_vl_layers.py:52
↓ 2 callersFunction_make_embedding_config
Build a TorchAO config for embedding layer quantization.
extension/llm/export/quantize.py:77
↓ 2 callersFunction_make_granularity
Create PerAxis(0) or PerGroup granularity.
extension/llm/export/quantize.py:21
↓ 2 callersMethod_make_hashable
Convert args/kwargs to a hashable form. For Node args, returns the integer value number — keeping all signature tuples flat and O(1)
exir/passes/cse_pass.py:178
↓ 2 callersFunction_make_inputs
(seed, M, hidden, dtype=torch.bfloat16, device="cuda")
backends/cuda/tests/test_fused_moe.py:147
↓ 2 callersFunction_make_inputs
(seed, rows, cols, dtype=torch.bfloat16, device="cuda")
backends/cuda/tests/test_topk.py:72
↓ 2 callersFunction_make_inputs_from_fla
Generate inputs following FLA test_chunk() conventions.
backends/cuda/tests/test_chunk_gated_delta_rule.py:86
↓ 2 callersFunction_make_int4
Build a random Int4Tensor.
examples/models/gemma4_31b/quant/tests/test_safetensors_roundtrip.py:40
↓ 2 callersFunction_make_int4_weights
Generate random packed INT4 weights and per-group scales. Returns: w: [E, N, K//2] int8 — two INT4 values packed per byte sca
backends/cuda/benchmarks/benchmark_moe.py:45
↓ 2 callersFunction_make_int8
Build a random IntxUnpackedToInt8Tensor.
examples/models/gemma4_31b/quant/tests/test_safetensors_roundtrip.py:55
↓ 2 callersFunction_make_linear_filter
Create a filter_fn for linear layers, skipping incompatible shapes.
extension/llm/export/quantize.py:137
↓ 2 callersFunction_make_mha_softmax_inputs
( input_low: float, input_high: float, num_test: int = 8, seed: int = 42 )
backends/arm/test/ops/test_softmax.py:174
↓ 2 callersFunction_make_position_ids
( batch_size: int, seq_length: int, device: torch.device )
backends/arm/test/models/Gemma3n/test_gemma3nModel.py:53
↓ 2 callersMethod_make_program
(self)
exir/_serialize/test/test_flatbuffer_program.py:58
↓ 2 callersFunction_make_pytorch_runner
(backend: SDPBackend)
backends/cuda/benchmarks/benchmark_sdpa.py:70
← previousnext →2,801–2,900 of 28,493, ranked by callers