MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersMethod_compare_outputs
(self, et_ep1, et_ep2, example_inputs)
backends/transforms/test/test_create_mutable_buffer.py:246
↓ 1 callersMethod_compare_plan_ops
(self, et1, et2)
backends/transforms/test/test_create_mutable_buffer.py:330
↓ 1 callersMethod_compare_scales
(self, extracted_scales, reference_scales)
backends/openvino/tests/quantizer/test_llm_compression.py:138
↓ 1 callersMethod_compare_signatures
(self, et_ep1, et_ep2)
backends/transforms/test/test_create_mutable_buffer.py:277
↓ 1 callersFunction_compare_tosa_and_schema
(debug_event: DebugSchema, tosa_op: str)
backends/arm/test/misc/test_debug_hook.py:101
↓ 1 callersFunction_compile_time_cpu_clones
Force AOTI's mutated-buffer clones onto CPU while preserving the serialized constants' target device.
backends/cuda/cuda_backend.py:62
↓ 1 callersMethod_compile_tosa_flatbuffer
Compile a TOSA flatbuffer into a target-specific binary stream. Args: tosa_flatbuffer (bytes): Serialized TOSA graph produced by
backends/arm/vgf/backend.py:57
↓ 1 callersMethod_compile_tosa_flatbuffer
Compile a TOSA flatbuffer into a target-specific binary stream. Args: tosa_flatbuffer (bytes): Serialized TOSA graph produced by
backends/arm/ethosu/backend.py:39
↓ 1 callersMethod_complete_kv
( self, k, v, k_cache, v_cache, end_index, end_offset )
examples/qualcomm/oss_scripts/moshi/model/static_mimi.py:202
↓ 1 callersMethod_compose_op_graph
( name: str, nodes: Dict[str, Node], input_nodes: Dict[ str, Node | Operat
devtools/debug_format/et_schema.py:336
↓ 1 callersMethod_compute_blk_sizes_candidate
Derives block size candidates from the GCD of all conv in_channels, returning all divisors of that GCD in [min_size, max_size].
examples/qualcomm/oss_scripts/llama/mix_precision_analyzer.py:248
↓ 1 callersFunction_compute_conv2d_output_shape
( input_shape: torch.Size, weight_shape: torch.Size, stride: Sequence[int], padding: Sequence[
backends/cortex_m/ops/operators.py:665
↓ 1 callersFunction_compute_conv_transpose2d_output_shape
Compute output shape for transposed 2D convolution. Formula for each dimension: out_size = (in_size - 1) * stride - 2 * padding + dilati
backends/cortex_m/ops/operators.py:999
↓ 1 callersFunction_compute_depthwise_conv2d_output_shape
( input_shape: torch.Size, weight_shape: torch.Size, stride: Sequence[int], padding: Sequence[
backends/cortex_m/ops/operators.py:693
↓ 1 callersMethod_compute_folded_bias
Compute new int bias = round((bias_float + C) / scale) + zp, clamped.
backends/cadence/aot/quantizer/passes/fuse_ops.py:331
↓ 1 callersMethod_compute_index_tensor_params
Compute shape/stride-derived parameters needed to lower edge.aten.index.Tensor. Derives the broadcasted index shape and the scale fac
backends/arm/_passes/decompose_index_tensor_to_gather_pass.py:197
↓ 1 callersMethod_compute_kernel_sum
Computes the precomputed kernel sum term (bias optional) a * sum_j(wij + b) + ci for i = (1, ..., n), where j indexes th
backends/cortex_m/passes/convert_to_cortex_m_pass.py:36
↓ 1 callersFunction_compute_max_pool2d_output_shape
( input_shape: torch.Size, kernel_size: Sequence[int], stride: Sequence[int], padding: Sequenc
backends/cortex_m/ops/operators.py:1289
↓ 1 callersFunction_compute_multiplier_and_shift
Derive integer multipliers and shifts from floating-point scales. TOSA uses the RESCALE operation to scale between values with differing prec
backends/arm/operators/op_tosa_rescale.py:25
↓ 1 callersMethod_compute_offsets
Compute offsets for a given tokenized input. Args: token_ids (`Union[int, List[int], np.ndarray, torch.Tensor, tf.Tensor]`):
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:622
↓ 1 callersMethod_compute_per_layer_inputs
Compute per-layer input embeddings. Combines: 1. Per-layer token embeddings (scaled) 2. Projection from model hidden states (
examples/models/gemma4/text_decoder/gemma4_self_decoder.py:80
↓ 1 callersFunction_compute_position_ids
Compute 2D (x, y) position IDs for patches. Returns (num_patches, 2).
examples/models/gemma4/image_utils.py:128
↓ 1 callersMethod_compute_slicing_params
( self, output_shape, explicit_padding )
backends/nxp/backend/ir/converter/node_converters/ops_converters/convolution_converter.py:156
↓ 1 callersMethod_compute_softmax_params
Convert the incoming per-tensor input scale into the CMSIS fixed-point parameters expected by `arm_softmax_s8`. 1. Clamp the
backends/cortex_m/passes/quantized_op_fusion_pass.py:124
↓ 1 callersFunction_compute_tensor_stats
Returns (num_elements, num_differing, max_abs_diff, mean_abs_diff, element_diffs).
devtools/pte_tool/diff_pte.py:257
↓ 1 callersMethod_compute_unfold_copy_params
( self, x: torch.Tensor, dim: int, size: int, step: int, )
backends/arm/_passes/decompose_unfold_to_gather_pass.py:114
↓ 1 callersMethod_configure_pass_insertions
Hook for subclasses to configure pass insertions. Called at the START of pipeline construction, before any passes are added. Subclass
backends/arm/_passes/arm_pass_manager.py:355
↓ 1 callersMethod_connect_to_output
( self, body_module: GraphModule, placeholders: Sequence[Node] )
backends/arm/_passes/normalize_while_initial_args_pass.py:50
↓ 1 callersMethod_consume_etrecord
If an ETRecord is provided, connect it to the EventBlocks and populate the Event metadata. Steps: 1. Debug Handle Symbol
devtools/inspector/_inspector.py:1112
↓ 1 callersFunction_contains_xnnpack_delegate
(graph_module: torch.fx.GraphModule)
exir/memory_planning.py:924
↓ 1 callersFunction_conv1d_as_matmul
Math-identical replacement for F.conv1d, expressed as unfold + matmul. AOTI's CUDA backend has Triton matmul kernels and aoti_torch_cuda_mm r
examples/models/voxtral_tts/model.py:836
↓ 1 callersFunction_conv_transpose1d_as_matmul
Math-identical replacement for F.conv_transpose1d, via matmul + Fold. Same motivation as _conv1d_as_matmul — moves the codec off aten.convolution
examples/models/voxtral_tts/model.py:875
↓ 1 callersMethod_convert_2d_avg_pool
( self, kernel_size, stride, padding, t_op: tflite_model.Operator )
backends/nxp/backend/ir/converter/node_converters/ops_converters/avg_pool_2d_converter.py:87
↓ 1 callersMethod_convert_2d_conv
( self, t_op: tflite_model.Operator, conv_params: ConvParameters )
backends/nxp/backend/ir/converter/node_converters/ops_converters/convolution_converter.py:326
↓ 1 callersMethod_convert_argmax_operators
(self, node: torch.fx.Node, graph: torch.fx.Graph)
backends/arm/_passes/convert_int64_output_ops_to_int32.py:107
↓ 1 callersMethod_convert_casting_operators
(self, node: torch.fx.Node)
backends/arm/_passes/convert_int64_output_ops_to_int32.py:81
↓ 1 callersFunction_convert_double
(val: Double)
exir/_serialize/_flatbuffer_program.py:127
↓ 1 callersMethod_convert_dtype
(self, graph: torch.fx.Graph)
backends/transforms/convert_dtype_pass.py:47
↓ 1 callersMethod_convert_encoding
Convert the encoding representation (from low-level HuggingFace tokenizer output) to a python Dict and a list of encodings, take care
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_fast.py:288
↓ 1 callersFunction_convert_evalue
(val: EValue)
exir/_serialize/_flatbuffer_program.py:138
↓ 1 callersFunction_convert_from_flatcc
(etdump_flatbuffer: bytes, size_prefixed: bool = True)
devtools/etdump/serialize.py:63
↓ 1 callersMethod_convert_getattr
(self, graph_module)
backends/arm/_passes/control_flow_const_inline.py:38
↓ 1 callersFunction_convert_instruction
(val: Instruction)
exir/_serialize/_flatbuffer_program.py:151
↓ 1 callersFunction_convert_linear_to_w4dequant
(linear, group_size, use_hqq)
examples/models/qwen3_5_moe/export.py:551
↓ 1 callersMethod_convert_node_1d_args_to_2d
(self, old_1d_node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:369
↓ 1 callersMethod_convert_paddings_to_tflite
Convert the PyTorch paddings to TFLite paddings. The PyTorch padding is added to the individual dimensions from the back (slightly confusi
backends/nxp/backend/ir/converter/node_converters/ops_converters/constant_pad_nd_converter.py:95
↓ 1 callersMethod_convert_qdq_cluster_q_dq_nodes
Go through the program and convert [De]Quantize nodes that are part of a QDQ cluster into tensors. Also convert related `GetItem` nodes to
backends/nxp/backend/edge_program_converter.py:275
↓ 1 callersMethod_convert_scalar_1d_args_to_2d
(self, old_1d_node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:345
↓ 1 callersFunction_convert_scalars_to_attrs
(model: torch.fx.GraphModule)
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:1092
↓ 1 callersFunction_convert_scalars_to_attrs
(model: torch.fx.GraphModule)
backends/vulkan/quantizer/vulkan_quantizer_utils.py:194
↓ 1 callersFunction_convert_to_flatbuffer
(obj, schema: str)
backends/qualcomm/serialization/qc_schema_serialize.py:19
↓ 1 callersFunction_convert_to_flatcc
(etdump_json: str)
devtools/etdump/serialize.py:46
↓ 1 callersMethod_convert_to_list
(token_ids)
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:979
↓ 1 callersFunction_convert_to_object
(flatbuffers: bytes, obj_type, schema: str)
backends/qualcomm/serialization/qc_schema_serialize.py:37
↓ 1 callersMethod_convert_to_slice
(self, t_op, main_input, input_rank, dim, start, end)
backends/nxp/backend/ir/converter/node_converters/ops_converters/slice_tensor_converter.py:87
↓ 1 callersFunction_convert_to_state_dict
(gguf_weights: GGUFWeights)
extension/gguf_util/converters/llama_converter.py:59
↓ 1 callersMethod_convert_token_to_id
(self, token)
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils.py:653
↓ 1 callersMethod_convert_transpose_conv
Convert the `aten.convolution` into TFLite TransposeConv. The `builtin_options` must be converted by the caller.
backends/nxp/backend/ir/converter/node_converters/ops_converters/convolution_converter.py:241
↓ 1 callersMethod_copy_attr
Register a new attribute referring to the same data as the original one.
backends/arm/_passes/deduplicate_get_attr_pass.py:33
↓ 1 callersMethod_copy_decomposed_graph
( graph: torch.fx.Graph, node: torch.fx.Node, decomposed_module: torch.fx.GraphModule,
backends/transforms/decompose_sdpa.py:88
↓ 1 callersFunction_copy_node_metadata
Copy metadata from original node to new node.
backends/transforms/remove_getitem_op.py:100
↓ 1 callersFunction_copy_user_node_qparams
Construct metadata for the slice node that will replace the split output. Note that output quantization parameters are copied from the user nodes
backends/arm/_passes/convert_split_to_slice.py:98
↓ 1 callersFunction_copyright_year_range
()
backends/arm/scripts/generate_public_api_manifest.py:35
↓ 1 callersMethod_create_and_insert_get_item_node
Create a `GetItem` node which extracts the output of `input_node` on index `idx`. The `GetItem` is also added to the graph right after the `in
backends/nxp/aten_passes/split_group_convolution.py:60
↓ 1 callersMethod_create_batch_norm_2d_node
(self, *bn_args)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:252
↓ 1 callersMethod_create_concat_node
(self, *cat_args)
backends/nxp/aten_passes/split_group_convolution.py:132
↓ 1 callersFunction_create_const_ops_for_rescale
Materialize constant operands required by the TOSA RESCALE op. For TOSA spec v1.0 RESCALE operator requires multiplier, shifts, input_zp and
backends/arm/operators/op_tosa_rescale.py:98
↓ 1 callersMethod_create_convolution_node
(self, conv_target, args: tuple)
backends/nxp/aten_passes/split_group_convolution.py:103
↓ 1 callersFunction_create_cuda_partitioners
Create CUDA partitioners for all programs except preprocessor.
examples/models/parakeet/export_parakeet_tdt.py:533
↓ 1 callersFunction_create_debug_handle_overlap_graph
Create a graph representing overlapping debug handles between AOT and runtime outputs. Edges in the graph are represented as a dictionary wh
devtools/inspector/_inspector_utils.py:678
↓ 1 callersMethod_create_decompressor
Returns a respective NNCF decompressor for different types of quantization. :param scale: Calculated scale quantization parameter.
backends/openvino/quantizer/observers.py:147
↓ 1 callersMethod_create_default_pipeline_config
(self)
backends/arm/common/arm_compile_spec.py:289
↓ 1 callersMethod_create_diamond_pattern_graph
Create a diamond-shaped graph with duplicate and unique operations. Graph structure: x (placeholder) ├── add.Scalar(x
backends/cadence/aot/tests/test_fusion_ops_passes.py:1257
↓ 1 callersMethod_create_different_add_scalar_graph
Create a graph with add.Scalar operations using different values. Graph structure: x (placeholder) ├── add.Scalar(x,
backends/cadence/aot/tests/test_fusion_ops_passes.py:1236
↓ 1 callersMethod_create_duplicate_add_scalar_graph
Create a graph with two identical add.Scalar operations. Graph structure: x (placeholder) ├── add.Scalar(x, 1) ─┐
backends/cadence/aot/tests/test_fusion_ops_passes.py:1218
↓ 1 callersFunction_create_enumeration_map
(ep, enumerated_shapes, *, ignore_range_constraints=False)
backends/apple/coreml/compiler/enumerated_shape_utils.py:102
↓ 1 callersFunction_create_file_tree
(tree: Dict[Any, Any], cwd: str)
tools/cmake/common/__init__.py:55
↓ 1 callersMethod_create_gru_node
Create an `aten.gru.input` node with the provided arguments. The node will NOT be added to the graph automatically. :param gru_a
backends/nxp/aten_passes/split_gru_based_on_num_layers.py:91
↓ 1 callersMethod_create_map_body_with_duplicate_ops
Create a map function body with duplicate add.Scalar operations.
backends/cadence/aot/tests/test_fusion_ops_passes.py:1277
↓ 1 callersMethod_create_map_body_with_mixed_ops
Create a map function body with duplicate adds and different muls.
backends/cadence/aot/tests/test_fusion_ops_passes.py:1289
↓ 1 callersFunction_create_metal_partitioners
Create Metal partitioners for all programs except preprocessor.
examples/models/parakeet/export_parakeet_tdt.py:501
↓ 1 callersFunction_create_mlx_partitioners
Create MLX partitioners for all programs.
examples/models/parakeet/export_parakeet_tdt.py:564
↓ 1 callersMethod_create_mul_data_node
(self, div_node: Node)
backends/nxp/aten_passes/convert_div_to_mul.py:111
↓ 1 callersMethod_create_mul_op_node
(self, *mul_args)
backends/nxp/aten_passes/convert_div_to_mul.py:40
↓ 1 callersFunction_create_openvino_flow
()
backends/test/suite/flows/openvino.py:43
↓ 1 callersFunction_create_openvino_int8_flow
INT8 quantization flow for OpenVINO. Uses post-training quantization with calibration.
backends/test/suite/flows/openvino.py:47
↓ 1 callersMethod_create_operator
( self, builder: GraphBuilder, op: torch._ops.OpOverload, x: ProxyValue )
backends/cadence/aot/tests/test_fusion_ops_passes.py:942
↓ 1 callersFunction_create_partitions
( tagged_graph_module: torch.fx.GraphModule, partition_result: PartitionResult, owning_program: Ex
exir/backend/backend_api.py:534
↓ 1 callersFunction_create_partitions_in_graph_module
( tagged_graph_module: torch.fx.GraphModule, partition_result: PartitionResult, owning_program: Ex
exir/backend/backend_api.py:448
↓ 1 callersMethod_create_payload_header
Create bytes header for returned payload. It contains information about input and output tensor formats. Tensors are ordered based on
backends/nxp/nxp_backend.py:292
↓ 1 callersFunction_create_portable_flow
()
backends/test/suite/flows/portable.py:10
↓ 1 callersFunction_create_pte_program
(pt_model: nn.Module)
extension/gguf_util/converters/llama_converter.py:93
↓ 1 callersMethod_create_requantize_node
( self, in_tensor: torch.fx.Node, in_scale: float, in_zero_point: int,
backends/cadence/aot/fuse_ops.py:650
↓ 1 callersMethod_create_slice_node
(self, *slice_args)
backends/nxp/aten_passes/decompose_split_to_slices_pass.py:85
↓ 1 callersMethod_create_sliding_window_mask
Create a sliding window mask for the baseline.
examples/models/llama/tests/test_ring_attention.py:120
↓ 1 callersMethod_create_slot_mappings
Create slot→Tid and slot→Vid mappings, and remap existing references. Returns: (slot_to_tid, slot_to_vid)
backends/mlx/builder/program_builder.py:705
↓ 1 callersMethod_create_some_conv_2d_node
(self, target, *conv_args)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:271
↓ 1 callersMethod_create_split_node
Create an `aten.split.default` node with the provided arguments. The node will NOT be added to the graph automatically. :param s
backends/nxp/aten_passes/split_gru_based_on_num_layers.py:131
↓ 1 callersMethod_create_split_node
(self, *split_args)
backends/nxp/aten_passes/split_group_convolution.py:80
↓ 1 callersMethod_create_tensor_args
( self, node: fx.Node, gm: torch.fx.graph_module )
backends/qualcomm/_passes/lift_constant_scalar_operands.py:130
← previousnext →5,601–5,700 of 28,493, ranked by callers