MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 3 callersFunction_constant_pad_nd_node
( module: torch.nn.Module, example_inputs: tuple[torch.Tensor, ...], dynamic_shapes=None, )
backends/arm/test/ops/test_constant_pad_nd.py:164
↓ 3 callersFunction_convert_gguf_tensor_name_to_llama_nn
(gguf_name: str)
extension/gguf_util/converters/llama_converter.py:52
↓ 3 callersFunction_convert_value
(val: Any)
exir/_serialize/_flatbuffer_program.py:173
↓ 3 callersFunction_copy_module
(new_prog, new_gm)
exir/program/_program.py:302
↓ 3 callersFunction_cosine_sim
(a, b)
backends/cuda/tests/test_tq4_sdpa.py:118
↓ 3 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_gru_based_on_num_layers.py:71
↓ 3 callersMethod_create_emitter_output
Creates EmitterOutput using cached program.
exir/_serialize/test/test_serialize.py:60
↓ 3 callersMethod_create_generic_node_by_target
(self, target, *args)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:289
↓ 3 callersMethod_create_test_model
Create a simple model with SDPA modules for testing.
examples/models/llama/source_transformation/test_quantized_sdpa.py:54
↓ 3 callersFunction_default_group_size
Return the default group size for a quantization config.
extension/llm/export/quantize.py:167
↓ 3 callersMethod_detect_precision
(self, node: torch.fx.Node)
backends/xnnpack/partition/config/gemm_configs.py:87
↓ 3 callersFunction_dump_str
(to_print: str, path_to_dump: Optional[str] = None)
backends/arm/test/tester/arm_tester.py:1263
↓ 3 callersFunction_emit_conv
Shared logic for regular convolution emission. Handles weight transform, input/output transposition, bias, and node emission for all spatial
backends/mlx/ops.py:2316
↓ 3 callersMethod_eventual_warn_about_too_long_sequence
Eventually warn about too long sequences. Depending on the input and internal state we might trigger a warning about a sequence that is too l
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:4198
↓ 3 callersMethod_export
(self, module: Optional[torch.nn.Module] = None)
extension/llm/export/builder.py:207
↓ 3 callersFunction_export_llama
(llm_config: LlmConfig)
examples/models/llama/export_llama_lib.py:1412
↓ 3 callersFunction_export_pybind
Export module to CUDA via AOTI with Triton ON, save to tmpdir, return loaded pybind module.
backends/cuda/tests/test_triton_sdpa_nan.py:91
↓ 3 callersFunction_export_quantized
(model: nn.Module)
backends/arm/test/passes/test_rewrite_conv_pass.py:86
↓ 3 callersFunction_export_through_cuda_backend
Export and lower through the CUDA backend (stops before to_executorch).
backends/cuda/tests/test_sdpa_splitk_replacement.py:62
↓ 3 callersFunction_extract
( length_fn: Callable[[], int], getter_fn: Callable[[int], Any] )
backends/mlx/pte_inspector.py:238
↓ 3 callersMethod_extract_arg_value
(arg: object)
backends/transforms/decompose_sdpa.py:52
↓ 3 callersMethod_fill_torch_ao_annotation
Helper method to update the annotation_to_update based on the specified edge_or_node and qspec. :param edge_or_node: The target Edge
backends/openvino/quantizer/quantizer.py:480
↓ 3 callersFunction_find_longest_common_sequence
(sequences, token_timestamp_sequences=None)
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:1236
↓ 3 callersFunction_for
(quantize: str)
examples/models/gemma4/export_gemma4.py:629
↓ 3 callersFunction_format_tensor_info
(info: TensorInfo)
devtools/pte_tool/diff_pte.py:705
↓ 3 callersMethod_forward
(self)
examples/models/gemma4_31b/tests/test_cuda_pipeline.py:183
↓ 3 callersFunction_full_sum
Full-tensor sum via aten.sum.dim_IntList(dim=[]) — portable + has out variant.
devtools/intermediate_output_tap/_reducers.py:117
↓ 3 callersMethod_gen_from_inference_events
Given an EventSignature and a list of Events with that signature, return an Event object matching the EventSignature, with perf_data
devtools/inspector/_inspector.py:438
↓ 3 callersMethod_gen_random_events
(self)
devtools/inspector/tests/inspector_test.py:1960
↓ 3 callersMethod_gen_random_runtime_output
( self, )
devtools/inspector/tests/inspector_test.py:1838
↓ 3 callersMethod_get_aot_intermediate_outputs_and_op_names
Capture intermediate outputs and operator name mappings from the given graph module. Args: reference_graph_module: The r
devtools/inspector/_inspector.py:1262
↓ 3 callersFunction_get_aten_graph_module
( pattern: _torch.nn.Module, example_inputs: _Tuple[_torch.Tensor], is_cuda: bool = False, )
backends/apple/coreml/quantizer/_coreml_quantizer_utils.py:89
↓ 3 callersFunction_get_calibration_and_testing_dataset_directory_names
Return the names of the directories which contain calibration data for quantization, and testing data for the inference. The difference is that th
backends/nxp/tests/dataset_creator.py:25
↓ 3 callersFunction_get_channels_last_dim_order
(ndim: int)
exir/dim_order_utils.py:25
↓ 3 callersMethod_get_clamp_bounds
Extract min and max bounds from `aten.clamp.default` node.
backends/nxp/backend/ir/converter/node_converters/ops_converters/clamp_converter.py:41
↓ 3 callersMethod_get_compile_specs
Get compile specs for multifunction models.
backends/apple/coreml/test/test_coreml_multifunction.py:53
↓ 3 callersFunction_get_contiguous_dim_order
(ndim: int)
exir/dim_order_utils.py:16
↓ 3 callersMethod_get_dataset_creator
()
backends/nxp/tests/ir/converter/node_converter/test_abs_converter.py:109
↓ 3 callersMethod_get_edge_config
(self)
extension/llm/export/builder.py:200
↓ 3 callersFunction_get_field_names
(cls)
exir/serde/union.py:37
↓ 3 callersFunction_get_frameworks_and_test_func
Get frameworks and test function. Returns an (ordered since we are in Python 3.7+) dictionary framework to test function, which places the framew
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:100
↓ 3 callersMethod_get_hardtanh_bounds
(node: Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/hardtanh_converter.py:42
↓ 3 callersMethod_get_input_nodes_with_float_output
(self, node: Node)
backends/arm/quantizer/arm_quantizer_utils.py:510
↓ 3 callersFunction_get_inputs
(graph_module: GraphModule)
exir/verification/verifier.py:191
↓ 3 callersFunction_get_lstm_cls
(use_quantizable_lstm: bool)
backends/test/suite/operators/test_lstm.py:22
↓ 3 callersFunction_get_mask_buffer
Fetch the `mask` buffer tensor from the traced module.
backends/arm/test/passes/test_replace_inf_values_pass.py:43
↓ 3 callersFunction_get_metadata
Generate metadata methods for the C++ runner. The C++ runner needs these constant methods to understand the model structure: - vocab_siz
examples/apple/coreml/llama/export_static_llm_coreml.py:226
↓ 3 callersFunction_get_module_type_filter
Get the module_type_filter function for a given module type. The filter accepts a node and checks if the node comes from a module that has a
backends/arm/quantizer/arm_quantizer.py:400
↓ 3 callersMethod_get_node_args
Extract and return `aten.max_pool2d_with_indices` arguments from the node. :param node: The node representing the `aten.max_pool2d_with_indic
backends/nxp/backend/ir/converter/node_converters/ops_converters/max_pool2d_with_indices_converter.py:146
↓ 3 callersFunction_get_node_by_target
(graph_module, target)
backends/cortex_m/test/misc/test_pattern_matcher.py:146
↓ 3 callersFunction_get_node_list_with_same_tag
Return a list of nodes with the same tag.
exir/backend/backend_api.py:163
↓ 3 callersMethod_get_node_op_type
Get node's operation type or None if node is not callable function.
backends/nxp/backend/node_format_inference.py:200
↓ 3 callersMethod_get_normalized_dim
(node: torch.fx.Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/cat_converter.py:39
↓ 3 callersMethod_get_opcode_indices_for
(self, op_type: str)
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:565
↓ 3 callersMethod_get_output_format
Return the artifact format emitted by this compile spec.
backends/arm/vgf/compile_spec.py:63
↓ 3 callersMethod_get_output_format
Returns a constant string that is the output format of the class.
backends/arm/common/arm_compile_spec.py:351
↓ 3 callersFunction_get_per_channel_fake_quants
(module: torch.nn.Module)
backends/arm/test/ops/test_transpose_conv2d.py:152
↓ 3 callersFunction_get_program_output_spec
Get output tensor specification for provided program. :param exported_program: Exported program. :return: List of output PyTorch tensors
backends/nxp/tests/nsys_testing.py:640
↓ 3 callersMethod_get_pt2e_quantized_linear
( self, is_per_channel: bool = False )
backends/xnnpack/test/quantizer/test_pt2e_quantization.py:70
↓ 3 callersMethod_get_pte_data
(self)
exir/program/_program.py:610
↓ 3 callersFunction_get_qnn_datatype
(node: Node, qspec: QuantizationSpecBase)
backends/qualcomm/quantizer/validators.py:81
↓ 3 callersFunction_get_quantizer
Returns a TOSAQuantizer configured for int8 quantization with SubOp unquantized.
backends/arm/test/misc/test_shared_qspecs.py:36
↓ 3 callersMethod_get_quantizer_for_prepare_pt2e
(self, quantizers: List[Any])
export/stages.py:383
↓ 3 callersFunction_get_target_device_from_compile_specs
Look for a CompileSpec with key TARGET_DEVICE_COMPILE_SPEC_KEY and return the corresponding (DeviceType, device_index), or None if not found.
exir/passes/propagate_device_pass.py:74
↓ 3 callersFunction_get_tensor_shape
(node: Node)
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:58
↓ 3 callersMethod_get_test_transformers
(self, config, attention_type="static", use_conv2d=False)
examples/models/llama/tests/test_static_attention.py:200
↓ 3 callersFunction_get_tosa_operator_distribution
Counts the occurences of operator names of all lowered modules containing a TOSA flatbuffer. The result is a string with the operator distrib
backends/arm/test/tester/arm_tester.py:1206
↓ 3 callersMethod_get_xnnpack_lowering_recipe
( self, precision_type: Optional[ConfigPrecisionType] = None )
backends/xnnpack/recipes/xnnpack_recipe_provider.py:100
↓ 3 callersFunction_greater_than
Returns whether an int or SymInt is greater than another value.
backends/arm/_passes/size_adjust_input_pass.py:52
↓ 3 callersFunction_has_quantizable_inputs
(test_data: T)
backends/arm/test/tester/test_pipeline.py:64
↓ 3 callersMethod_insert
(self, graph_module: torch.fx.GraphModule)
backends/qualcomm/_passes/insert_io_qdq.py:126
↓ 3 callersFunction_int_to_sympy_int
(val)
exir/serde/export_serialize.py:371
↓ 3 callersMethod_is_conv_transposed_1d
(node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:182
↓ 3 callersFunction_is_dequant_node
(node: torch.fx.Node)
backends/nxp/backend/ir/converter/node_converter.py:44
↓ 3 callersMethod_is_fuseable_input
(node: Node)
backends/arm/_passes/fuse_quantized_activation_pass.py:51
↓ 3 callersMethod_is_fuseable_quantized_activation
Fuse activations that have a 0 lower bound and quantized with a qmin zero-point.
backends/arm/_passes/fuse_quantized_activation_pass.py:31
↓ 3 callersFunction_is_large_scalar
Return True if input is a large scalar value. Large scalars are skipped because ``torch.histc`` supports values only up to a certain upper bo
backends/arm/quantizer/quantization_annotator.py:277
↓ 3 callersMethod_is_nhwc_tensor
(tensor: torch.Tensor)
backends/xnnpack/_passes/channels_last_tagged_reshape_pass.py:143
↓ 3 callersFunction_is_node
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:14
↓ 3 callersMethod_is_node_supported
(self, node: torch.fx.Node)
backends/vulkan/partitioner/vulkan_partitioner.py:204
↓ 3 callersFunction_is_power_of_2
Check if n is a power of 2.
backends/cuda/triton/kernels/sdpa.py:43
↓ 3 callersFunction_is_quant_node
(node: torch.fx.Node)
backends/nxp/backend/ir/converter/node_converter.py:36
↓ 3 callersFunction_is_quantized
Check if a tensor is a torchao quantized subclass.
examples/models/gemma4_31b/quant/pack.py:25
↓ 3 callersMethod_is_tensor_of_dtype
(self, node_val, dtype: torch.dtype)
backends/transforms/convert_dtype_pass.py:37
↓ 3 callersFunction_is_tosa_without_shape_extension_supported
(node: torch.fx.Node)
backends/arm/test/ops/test_constant_pad_nd.py:179
↓ 3 callersFunction_lower_model_to_executorch
Lower model all the way through to_executorch for E2E tests.
exir/tests/test_propagate_device_pass.py:105
↓ 3 callersFunction_make_inputs
(dtype=torch.bfloat16, device="cuda")
backends/cuda/tests/test_chunk_gated_delta_rule.py:111
↓ 3 callersFunction_make_q6_k_block
Build one Q6_K block (210 bytes) from components. ggml processes 128 values at a time. For each 128-value half: ql: 64 bytes (two groups of
examples/models/gemma4_31b/quant/tests/test_gguf.py:63
↓ 3 callersFunction_make_qkv
Create random bf16 Q, K, V tensors on CUDA.
backends/cuda/tests/test_triton_sdpa_nan.py:37
↓ 3 callersFunction_make_vision_position_embeddings
( config, device: torch.device )
backends/arm/test/models/Qwen3_VL/test_qwen3_vl_layers.py:78
↓ 3 callersMethod_mark_supported
( self, nodes: Union[List[Node], Node], *, handler: Optional[Handler] = None )
backends/mlx/builder/program_builder.py:375
↓ 3 callersFunction_match_pattern
Check whether a node chain matches a pattern. Verify a chain of ancestors -> node -> descendants matches the provided ``pattern``. If ``filte
backends/arm/quantizer/quantization_annotator.py:400
↓ 3 callersFunction_multiples_of_three_dynamic_shapes
()
backends/arm/test/passes/test_rewrite_conv_pass.py:204
↓ 3 callersFunction_next
(node, from_args=True)
backends/qualcomm/_passes/utils.py:193
↓ 3 callersFunction_nonzero_float_tensor
(*shape: int)
backends/arm/test/ops/test_remainder.py:21
↓ 3 callersFunction_normalize_tosa_custom_operator_name
Normalize operator names so ``ns::op`` and ``ns.op`` map identically.
backends/arm/tosa/dialect/ops/custom.py:44
↓ 3 callersMethod_pick_correct_arg_or_kwarg
( self, name: str, args, kwargs,
examples/openvino/stable_diffusion/export_lcm.py:79
↓ 3 callersMethod_populate_debugging_related_fields
Given a partially constructed Event, populate the fields related to the debug events Fields Updated: name
devtools/inspector/_inspector.py:623
↓ 3 callersMethod_populate_profiling_related_fields
Given a partially constructed Event, populate the fields related to the profile events Fields Updated: name
devtools/inspector/_inspector.py:540
↓ 3 callersFunction_prepare_const_values_for_tosa_dtype
Normalize constant storage to the expected TOSA serializer dtype.
backends/arm/process_node.py:53
← previousnext →1,801–1,900 of 28,493, ranked by callers