MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 7 callersFunctionget_shape
Return the shape of the tensor correspnding to node. If the node has a tensor spec, return the shape from the metadata. If the node is a para
backends/cadence/aot/compiler_utils.py:45
↓ 7 callersFunctionget_soc_to_lpai_hw_ver_map
()
backends/qualcomm/utils/utils.py:1298
↓ 7 callersFunctioninit_list_str
(pylist: Any)
backends/vulkan/test/op_tests/utils/gen_correctness_base.py:60
↓ 7 callersFunctionis_affine_qdq
(node: torch.fx.Node)
backends/xnnpack/utils/quant_utils.py:130
↓ 7 callersFunctionis_annotated
Return True if the node is annotated. Args: node (Node): FX node to inspect. Returns: bool: True if ``Q_ANNOTATION_KEY`` exi
backends/arm/quantizer/arm_quantizer_utils.py:45
↓ 7 callersFunctionis_graph_output
(node: torch.fx.Node)
backends/samsung/utils/utils.py:31
↓ 7 callersFunctionis_graph_output
Check if the given tensor is used as a graph output Args: tensor: EdgeIR Tensor that is being checked for graph input
backends/qualcomm/builders/utils.py:92
↓ 7 callersFunctionis_identical_graph
( graph_left: torch.fx.GraphModule, graph_right: torch.fx.GraphModule )
exir/backend/utils.py:66
↓ 7 callersFunctionis_per_channel_group
(node: torch.fx.Node)
backends/xnnpack/utils/quant_utils.py:180
↓ 7 callersMethodload_value
Given an index in the value list, if value is `Uninitialized` or is a mutable object, like a Tensor List, calls `load` to load and in
exir/verification/interpreter.py:181
↓ 7 callersMethodload_weights
(self, state_dict, state_dict_start_idx)
examples/mediatek/models/llm_models/modeling_common.py:408
↓ 7 callersFunctionmake_tensor_value
Converts the normal torch tensor to a flatbuffer tensor.
exir/tensor.py:350
↓ 7 callersFunctionmap_runtime_aot_intermediate_outputs
Map the runtime intermediate outputs to the AOT intermediate outputs by finding overlapping debug handles and combining them into a single de
devtools/inspector/_inspector_utils.py:916
↓ 7 callersMethodmark_as_nhwc_node
(node: torch.fx.Node)
backends/xnnpack/_passes/channels_last_tagged_reshape_pass.py:95
↓ 7 callersMethodmatches
(self, node: torch.fx.Node)
devtools/inspector/_inspector_utils.py:126
↓ 7 callersFunctionmaterialize_runtime_buffers
Replace meta-device buffers with real tensors and set runtime constants. Called after weight loading to fill in KV caches (zeros), RoPE tables
examples/models/gemma4_31b/model.py:644
↓ 7 callersFunctionmod
(a: SymInt, b: SymInt)
exir/passes/executorch_prim_ops_registry.py:89
↓ 7 callersFunctionnode_is_effectively_static_tensor
Return `True` if the given `node` has static data, or follows after a `Dequantize` node with a static input. In the IR, the `node` will be turned
backends/nxp/backend/edge_helper.py:77
↓ 7 callersFunctionnormalize_symint
Dynamic shapes in executorch are represented with torch.SymInt objects in the shapes, in TOSA we do not have this concept and instead use -1.
backends/arm/tosa/utils.py:164
↓ 7 callersFunctionnss
Get an instance of NSS with weights loaded.
backends/arm/test/models/test_nss.py:35
↓ 7 callersMethodop
(self)
exir/dialects/edge/_ops.py:376
↓ 7 callersFunctionqwen_3_5_to_meta
( # noqa: C901 state_dict: Dict[str, torch.Tensor], )
examples/models/qwen3_5/convert_weights.py:95
↓ 7 callersMethodrun
( self, graph_module: torch.fx.GraphModule, graph_signature: Optional[ExportGraphSigna
backends/cadence/aot/memory_planning.py:450
↓ 7 callersMethodrun
Executes this stage with the given inputs. Each concrete stage class implements this method with specific parameter names.
export/stages.py:91
↓ 7 callersFunctionschema_to_opoverload
(schema: FunctionSchema)
exir/operator/convert.py:195
↓ 7 callersFunctionselect_any
Match if ANY of `selectors` matches.
devtools/intermediate_output_tap/_selectors.py:213
↓ 7 callersFunctionselect_by_module_class
Match nodes whose `nn_module_stack` contains a module of one of `class_names`. `class_names` are matched against the bare class name (e.
devtools/intermediate_output_tap/_selectors.py:169
↓ 7 callersFunctionserialize_for_executorch
Serialize the output from Emitter into ExecuTorch artifacts; PTE and PTD files.
exir/_serialize/_serialize.py:44
↓ 7 callersMethodset_next
(self, processor)
examples/qualcomm/oss_scripts/llama/wrappers/base_component.py:145
↓ 7 callersMethodset_operator_type
( self, operator_type: torch._ops.OpOverloadPacket, quantization_config: QuantizationC
backends/xnnpack/quantizer/xnnpack_quantizer.py:340
↓ 7 callersMethodsetup_precision
(self, precision: Precision)
backends/mediatek/quantizer/quantizer.py:27
↓ 7 callersMethodstep
Input is one token. Return logits for next token.
examples/models/llava/model.py:246
↓ 7 callersMethodsync_fx_node
(self, name: str, fx_node: torch.fx.Node)
exir/serde/export_serialize.py:1901
↓ 7 callersMethodtexture_is_valid
(self)
backends/vulkan/utils.py:952
↓ 7 callersMethodto_bytes
Converts XNNHeader to bytes for serialization. Returns: Returns the binary representation of the XNNPACK Header.
backends/xnnpack/serialization/xnnpack_graph_serialize.py:209
↓ 7 callersMethodtransform
(self)
backends/cortex_m/passes/cortex_m_pass_manager.py:94
↓ 7 callersMethodtype
(self)
exir/serde/union.py:55
↓ 7 callersFunctionvalidate_against_backend_constraints
( # noqa: C901 node: Node, normalized_constraints_list: List[NormalizedConstraints] )
backends/qualcomm/quantizer/validators.py:330
↓ 6 callersMethod__init__
(self, *args, **kwargs)
backends/cortex_m/test/ops/test_conv.py:20
↓ 6 callersMethod__init__
(self, neutron_quantizer, is_qat: bool = False)
backends/nxp/quantizer/patterns.py:838
↓ 6 callersMethod__init__
( self, in_size: int = 2, input_channels: int = 4, output_channels: int = 4,
backends/xnnpack/test/ops/test_linear.py:51
↓ 6 callersMethod__init__
(self)
backends/xnnpack/test/quantizer/test_xnnpack_quantizer.py:449
↓ 6 callersMethod__init__
(self, config: QwenConfig)
examples/mediatek/models/llm_models/modeling_qwen.py:17
↓ 6 callersMethod__init__
(self, config: PhiConfig)
examples/mediatek/models/llm_models/modeling_phi.py:21
↓ 6 callersMethod__init__
(self, params: ModelArgs)
examples/apple/coreml/llama/llama_transformer.py:113
↓ 6 callersMethod__init__
( self, dim: int, head_dim: int, n_rep: int, max_context_len: int,
examples/models/llama/attention.py:120
↓ 6 callersMethod__init__
( self, dim: int, n_rep: int, )
examples/models/llama/source_transformation/sdpa.py:295
↓ 6 callersMethod__init__
(self)
examples/models/toy_model/model.py:14
↓ 6 callersMethod__init__
( self, config: ModelArgs, ar_len=1, output_new_cache_only=True, outpu
examples/qualcomm/oss_scripts/llama/model/static_llama.py:641
↓ 6 callersMethod__init__
(self)
devtools/intermediate_output_tap/tests/test_xnnpack_e2e.py:69
↓ 6 callersMethod__init__
(self)
extension/pybindings/test/make_test.py:19
↓ 6 callersMethod_build_offset_vector
( self, builder: flatbuffers.Builder, offsets: List[int] )
backends/mlx/serialization/mlx_graph_serialize.py:254
↓ 6 callersMethod_check
(self, out, ref, tol=0.15)
backends/cuda/tests/test_int4_dispatch.py:67
↓ 6 callersMethod_check_count
(self, op, count, epm)
exir/tests/test_quantize_io_pass.py:50
↓ 6 callersFunction_count_yaml_kernels
Returns the kernel count for one YAML, or None if the YAML opts into include_all_operators / include_all_overloads (callers should skip the au
codegen/tools/gen_max_kernel_num.py:75
↓ 6 callersFunction_create_arm_flow
( name: str, compile_spec_factory: Callable[[], ArmCompileSpec], support_serialize: bool = True,
backends/test/suite/flows/arm.py:19
↓ 6 callersMethod_create_attention_with_kv_cache
Create an attention module with KVCache.
examples/models/llama/tests/test_replace_kv_cache.py:64
↓ 6 callersFunction_create_qnn_flow
( name: str, quantize: bool = False, quant_dtype: QuantDtype | None = None, per_channel_conv=T
backends/test/suite/flows/qualcomm.py:7
↓ 6 callersMethod_emit_spec
Given the provided spec constructs the corresponding EValue from it and then emits it. If `spec` was already emitted earlier (e.g., because t
exir/emit/_emitter.py:624
↓ 6 callersMethod_find_extra_one
If longer has exactly one more element of value 1, return its index. Else -1.
backends/transforms/remove_permutes_around_elementwise_ops.py:84
↓ 6 callersFunction_flatc_decompile
Deserializes binary flatbuffer data to a JSON file. Args: output_dir: Directory under which to create the JSON file. schema_path:
exir/_serialize/_flatbuffer.py:355
↓ 6 callersFunction_format_dict
(to_print: dict, print_table: bool = True)
backends/arm/test/tester/arm_tester.py:1271
↓ 6 callersMethod_gen_random_float_list
(self)
devtools/inspector/tests/inspector_test.py:1835
↓ 6 callersFunction_get_activation_qspec
( dtype, is_symmetric, is_qat, observer_cls=MinMaxObserver, quant_min=None, quant_max=
backends/mediatek/quantizer/qconfig.py:67
↓ 6 callersFunction_get_extended_header
Returns the extended header of the program data, if present and valid.
exir/_serialize/_program.py:268
↓ 6 callersMethod_get_node_format
(self, node)
backends/nxp/backend/node_format_inference.py:330
↓ 6 callersMethod_get_node_name
(node: torch.fx.Node)
devtools/debug_format/et_schema.py:76
↓ 6 callersFunction_get_reference_outputs
Extracts out the expected outputs from the bundled program, keyed by the method names.
devtools/etrecord/_etrecord.py:521
↓ 6 callersFunction_get_staging_dir
r""" Return a cross-platform staging directory for staging SDKs/libraries. - On Linux: ~/.cache/executorch/qnn/<parts...> (fa
backends/qualcomm/scripts/download_qnn_sdk.py:113
↓ 6 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/fuse_batch_norm_with_conv_pass.py:44
↓ 6 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/fuse_batch_norm_with_linear_pass.py:59
↓ 6 callersFunction_handle
( submodule_node: torch.fx.Node, alloc_graph_input: bool = False, )
exir/memory_planning.py:1305
↓ 6 callersMethod_has_shared_q_params_if_quantized
Check if node has shared quantization parameters if it's quantized.
backends/nxp/backend/ir/converter/node_converter.py:168
↓ 6 callersMethod_int32_qargs
Helper creator function for INT32-based QuantArgs.
backends/arm/_passes/insert_rescales_pass.py:159
↓ 6 callersFunction_int4_to_intx_unpacked
Convert an ``Int4Tensor`` to ``IntxUnpackedToInt8Tensor``. Int4Tensor stores qdata as nibble-packed uint8 ``(N, K/2)`` with scale/zero transp
examples/models/gemma4_31b/quant/pack_mlx.py:32
↓ 6 callersFunction_is_call
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:18
↓ 6 callersFunction_json_to_dataclass
Initializes a dataclass given a dictionary loaded from a json, `json_dict`, and the expected class, `cls`, by iterating through the fields of
exir/_serialize/_dataclass.py:60
↓ 6 callersFunction_mark_nodes_as_annotated
(nodes: list[Node])
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:118
↓ 6 callersFunction_move_to_cuda
Move the prequantized model to CUDA and materialize runtime buffers there. Parameters are moved individually (not via ``model.cuda()``) to preser
examples/models/gemma4_31b/inference.py:45
↓ 6 callersFunction_node_iter
(graph_module)
backends/cortex_m/test/misc/test_pattern_matcher.py:56
↓ 6 callersFunction_op_impl
(target, *args, **kwargs)
exir/passes/dim_order_ops_registry.py:40
↓ 6 callersFunction_progress
Print a progress line with carriage return (no newline). Not suited for logging.
backends/qualcomm/scripts/download_qnn_sdk.py:36
↓ 6 callersFunction_promote_gradient_clipping_buffers
(module: torch.nn.Module)
backends/arm/test/models/Gemma3n/test_gemma3nModel.py:69
↓ 6 callersFunction_pybind_schema_to_native_schema
We have 2 FunctionSchema definitions in python. One is defined in torchgen (call it native FunctionSchema), another is a pybind of c10::F
exir/operator/convert.py:52
↓ 6 callersFunction_register_flow
( import_fn: Callable[[], list[TestFlow]], backend_name: str )
backends/test/suite/flow.py:76
↓ 6 callersFunction_replace_with_custom_fn_if_matches_filter
For each `child` in `model`, replaces it with `replacement_fn(child)` if `filter_fn(child)` is `True`
examples/models/llama/experimental/load_gguf_q4_0.py:36
↓ 6 callersFunction_resolve_param_tensor
Read a tensor backing a placeholder node (param, buffer, or lifted constant). Returns None if the node is None or not resolvable as one of those k
backends/cadence/aot/quantizer/passes/fuse_ops.py:108
↓ 6 callersMethod_run_fused
Run fused kernel and return (output, new_state).
backends/cuda/tests/test_fused_deltanet_decode.py:119
↓ 6 callersMethod_run_matvec
(self, N, K, group_size)
backends/cuda/tests/test_int4_matmul.py:210
↓ 6 callersFunction_scalar_node
Call a full-reduction op (amin/amax/mean/sum) producing a 0-d tensor.
devtools/intermediate_output_tap/_reducers.py:91
↓ 6 callersMethod_scale_tensor
(self, tensor, min_value, max_value, scale=True)
extension/llm/custom_ops/test_sdpa_with_kv_cache.py:439
↓ 6 callersMethod_slice_idx
(self, x, dim: int, idx: int, meta)
backends/arm/_passes/rewrite_pad.py:62
↓ 6 callersFunction_temp
(value: float = 1.0)
examples/models/qwen3_5_moe/test_sampler.py:28
↓ 6 callersMethod_test_batch_norm
Test that a standalone BatchNorm is lowered to XNNPACK via decomposition to depthwise convolution.
backends/xnnpack/test/ops/test_batch_norm.py:70
↓ 6 callersMethod_test_binary_op_activation_e2e
( self, binary_op, activation, activation_check_not, )
backends/xnnpack/test/passes/test_activation_fusion.py:234
↓ 6 callersMethod_test_conv1d
( self, module, inputs, conv_count, quantized=False, dynamic_s
backends/xnnpack/test/ops/test_conv1d.py:93
↓ 6 callersMethod_test_dq
( self, m: torch.nn.Module, conv_count=1, dynamic_shapes=None, )
backends/xnnpack/test/ops/test_conv2d.py:251
↓ 6 callersMethod_test_exported_resnet
(self, tester)
backends/xnnpack/test/models/resnet.py:42
↓ 6 callersFunction_to_sympy_expr
(value: int | torch.SymInt)
backends/arm/tosa/dialect/ops/avg_pool2d.py:21
↓ 6 callersFunction_unwrap
Unwrap @triton.heuristics to get the inner Autotuner for wrap_triton.
backends/cuda/triton/kernels/chunk_gated_delta_rule.py:44
← previousnext →901–1,000 of 28,493, ranked by callers