MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 2 callersFunction_dict_to_dataclass
(cls, data)
exir/serde/export_serialize.py:2361
↓ 2 callersFunction_do_annotate_conv
( gm: torch.fx.GraphModule, quantization_config: Optional[QuantizationConfig], filter_fn: Optional
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:237
↓ 2 callersFunction_do_annotate_conv_relu
( gm: torch.fx.GraphModule, quantization_config: Optional[QuantizationConfig], filter_fn: Optional
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:321
↓ 2 callersFunction_download_qnn_sdk
Download and extract the Qualcomm SDK into dst_folder. Only runs on Linux x86 platforms.
backends/qualcomm/scripts/download_qnn_sdk.py:332
↓ 2 callersFunction_dual_input_case
( module_factory: Callable[[], torch.nn.Module] )
backends/arm/test/ops/test_cond.py:171
↓ 2 callersFunction_dump_lowered_modules_artifact
( path_to_dump: Optional[str], artifact: Union[EdgeProgramManager, ExecutorchProgramManager], grap
backends/arm/test/tester/arm_tester.py:124
↓ 2 callersFunction_dump_yaml
( op_list: List[str], output_path: Path, model_name: Optional[str] = None, et_kernel_metadata:
codegen/tools/gen_oplist.py:160
↓ 2 callersMethod_emit_bundled_tensor
( self, spec: TensorSpec, bundled_values: List[bp_schema.Value] )
devtools/bundled_program/core.py:157
↓ 2 callersFunction_emit_channel_last_weight
Get convolution weight in channel-last format. If the weight is a placeholder (static parameter), permute at compile time and store as a cons
backends/mlx/ops.py:2216
↓ 2 callersFunction_emit_conv_bias
Reshape conv bias to channel-last broadcast shape and add to tmp in-place. After the convolution the activation is in channel-last layout, so the
backends/mlx/ops.py:2287
↓ 2 callersMethod_emit_prim_getters
Given a mapping of function names to return values, emit simple execution plans that just return these constant values. Prec
exir/emit/_emitter.py:1606
↓ 2 callersMethod_encoding_override
(self, decode_model, prefill_model)
examples/qualcomm/oss_scripts/llama/wrappers/llm_wrappers.py:807
↓ 2 callersMethod_ensure_param_attr
Replaces tensor attributes with parameter attributes.
backends/arm/_passes/constant_folding_pass.py:35
↓ 2 callersMethod_ensure_tensor
( self, value, ref_tensor, dtype, rank, meta, )
backends/arm/_passes/decompose_tosa_unsupported_clamp_pass.py:27
↓ 2 callersFunction_exactly_one_is_none
(obj1: Optional, obj2: Optional)
backends/nxp/backend/ir/tflite_generator/tflite_model.py:34
↓ 2 callersFunction_export_decoder_and_embedding
Export text_decoder and token_embedding into programs dict.
examples/models/voxtral_realtime/export_voxtral_rt.py:105
↓ 2 callersFunction_export_model
(external_mutable_weights: bool = False)
extension/training/examples/XOR/export_model.py:21
↓ 2 callersFunction_export_tq4_attn
Export a _TQ4AttnModule to .pte + .ptd. Returns (pte_path, model).
backends/cuda/tests/test_tq4_sdpa.py:732
↓ 2 callersMethod_extend_pattern_with_op
Extend the currently matched pattern in `real_pattern` with an operator represented by `op`. This function finds a suitable TFLite operator in
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:624
↓ 2 callersFunction_extract_constant_segment
Copies the tensors from the provided list into a Cord and tracks the offsets of each tensor. Args: constant_buffer: list of Buffe
exir/_serialize/_program.py:349
↓ 2 callersFunction_fbs_default_to_python
Convert FBS default value to Python.
backends/mlx/serialization/generate.py:538
↓ 2 callersMethod_feature_select
(self, image_outputs)
examples/models/llava/model.py:143
↓ 2 callersMethod_filter_timestamp_ids
(self, token_ids)
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:725
↓ 2 callersMethod_find_extra_one
(longer: list[int], shorter: list[int])
backends/transforms/fuse_cascaded_transpose_or_permute_ops.py:173
↓ 2 callersFunction_find_mlx_delegates
Return list of ``(plan_index, delegate_dict)`` for every MLX delegate.
backends/mlx/pte_inspector.py:110
↓ 2 callersFunction_first_outside_range
( values: Sequence[int], min_value: int, max_value: int )
backends/arm/tosa/resize_utils.py:30
↓ 2 callersFunction_flat_floats
Flatten a tap value (tensor / list / scalar) to a flat list of floats.
devtools/intermediate_output_tap/_convenience.py:110
↓ 2 callersMethod_flatbuffer_to_dict
(self, flatbuffer_data: bytes)
exir/_serialize/test/test_flatbuffer_program.py:160
↓ 2 callersMethod_flatten_and_sanity_check
Flat the given data and check its legality Args: unflatten_data: Data needs to be flatten. Returns: flatten_
devtools/bundled_program/config.py:81
↓ 2 callersFunction_for_each_filtered_node
( model: GraphModule, filter_fn: Callable[[Node], bool], )
backends/arm/quantizer/arm_quantizer.py:460
↓ 2 callersFunction_format_size
(num_bytes: int)
devtools/pte_tool/diff_pte.py:472
↓ 2 callersMethod_from_config
( self, config: ModelArgs, cache_lens: Dict[int, int], batch_size: int,
examples/models/llama/static_attention.py:289
↓ 2 callersFunction_from_sympy_expr
(expr: sympy.Expr)
backends/arm/tosa/dialect/ops/avg_pool2d.py:27
↓ 2 callersFunction_gather_io_names
For 'input', returns placeholder names in graph order. For 'output', returns names of output nodes.
exir/passes/quantize_io_pass.py:388
↓ 2 callersMethod_gen_resolve_debug_handles
Given mappings from instruction id to debug handles, populate the debug_handles field of all underlying events If the event
devtools/inspector/_inspector.py:932
↓ 2 callersMethod_gen_samples
( self, dataset_dir: str, input_spec: list[ModelInputSpec], rng_seed: int )
backends/nxp/tests/dataset_creator.py:85
↓ 2 callersMethod_gen_samples
( self, dataset_dir: str, input_spec: list[ModelInputSpec], idx_list )
backends/nxp/tests/dataset_creator.py:244
↓ 2 callersFunction_generate_dataclass
Generate a Python @dataclass from a parsed FBS table. Handles field ordering (required/defaulted before optional), skips _is_set sentinel fie
backends/mlx/serialization/generate.py:374
↓ 2 callersFunction_generate_edge_program
Args: config: The configuration for the edge program. program: The exported program to be converted to an edge program. c
exir/program/_program.py:860
↓ 2 callersFunction_generate_test_data
Generate random int8 test data for given shape.
backends/nxp/tests/ir/converter/node_converter/test_max_pool_2d_converter.py:59
↓ 2 callersMethod_get_8bit_table_domain
Return the canonical 8-bit TOSA TABLE input domain.
backends/arm/_passes/insert_table_ops.py:145
↓ 2 callersFunction_get_IO_channels
(node: Node | tflite_model.Operator)
backends/nxp/backend/ir/converter/node_converters/shared/conv_utils.py:25
↓ 2 callersMethod_get_adaptive_avg_pool_gm
( self, input_shape: Tuple[int, int, int, int], output_shape: Tuple[int, int] )
backends/cadence/aot/tests/test_replace_ops_passes.py:3158
↓ 2 callersFunction_get_add_constants
Return the scalar literals passed to `aten.add.Tensor`, skipping tensor inputs.
backends/arm/test/passes/test_replace_inf_values_pass.py:29
↓ 2 callersFunction_get_alibi_slopes
(n_heads: int)
examples/models/voxtral_tts/model.py:1019
↓ 2 callersMethod_get_args_kwargs
Construct args and kwargs for op given dtypes.
exir/dialects/edge/dtype/runner.py:31
↓ 2 callersFunction_get_aten_to_edge_passes
(config: EdgeCompileConfig)
exir/program/_program.py:714
↓ 2 callersMethod_get_base_specs
(spec: "TosaSpecification")
backends/arm/tosa/specification.py:52
↓ 2 callersFunction_get_bias_tensor_ep
Extract bias tensor from parameter or lifted constant in an ExportedProgram.
backends/transforms/quantize_fused_convbn_bias_pass.py:84
↓ 2 callersFunction_get_bilinear_2d_graphs
()
backends/xnnpack/partition/graphs/bilinear_2d.py:17
↓ 2 callersFunction_get_block_size_input_scale
(node: torch.fx.Node)
backends/xnnpack/utils/quant_utils.py:137
↓ 2 callersMethod_get_build_dir
(self, installer: "InstallerBuildExt")
setup.py:225
↓ 2 callersFunction_get_call_function_node
(gm: torch.fx.GraphModule, target)
backends/arm/test/passes/test_rewrite_conv_pass.py:115
↓ 2 callersFunction_get_caller_name
()
backends/nxp/tests/nsys_testing.py:600
↓ 2 callersMethod_get_channels_dim
Get the dimension index for channels, based on data format. :return: 1 for the channels_first format (NCHW), rank-1 for the channels_last form
backends/nxp/backend/ir/converter/node_converters/ops_converters/softmax_converter.py:24
↓ 2 callersMethod_get_clipped_slice_args
(node: Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/slice_tensor_converter.py:129
↓ 2 callersFunction_get_compile_spec
(args)
backends/arm/scripts/aot_arm_compiler.py:482
↓ 2 callersFunction_get_compute_scale_factor_pattern
(bn_eps: float = 1e-5)
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:37
↓ 2 callersMethod_get_conv_1d_args
(node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:333
↓ 2 callersMethod_get_conv_1d_transp_args
(node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:310
↓ 2 callersMethod_get_convolution_arguments
( conv_node: Node, )
backends/nxp/backend/ir/converter/node_converters/ops_converters/convolution_converter.py:171
↓ 2 callersFunction_get_cuda_version
Get the CUDA version installed on the system using nvcc command. Returns a tuple (major, minor). Raises: RuntimeError: if nvcc i
install_utils.py:60
↓ 2 callersMethod_get_decomposition
(self, graph: torch.fx.Graph)
backends/arm/_passes/insert_int32_casts_after_int64_placeholders.py:79
↓ 2 callersFunction_get_default_edge_compile_config
( skip_dim_order: bool = False, )
backends/arm/test/tester/arm_tester.py:167
↓ 2 callersFunction_get_default_passes
(neutron_target_spec, qat_mode: bool = False)
backends/nxp/aten_passes/neutron_aten_pass_manager.py:46
↓ 2 callersMethod_get_dqlinear_graph_module
(self, weight_qconfig, linear, example_inputs)
backends/xnnpack/test/test_xnnpack_utils.py:467
↓ 2 callersFunction_get_dynamo_graph
(function: Callable, inputs)
backends/xnnpack/quantizer/xnnpack_quantizer.py:48
↓ 2 callersMethod_get_edge_or_node
Returns the edge or node based on the given target node and quantization point. :param target_node: Target node instance. :p
backends/openvino/quantizer/quantizer.py:456
↓ 2 callersMethod_get_edge_or_node_and_annotation
Retrieves the edge or node and its corresponding QuantizationAnnotation based on the given graph, quantization point, and node-to-ann
backends/openvino/quantizer/quantizer.py:404
↓ 2 callersMethod_get_edge_prog_manager
(self, mod, example_inputs)
exir/tests/test_quantize_io_pass.py:54
↓ 2 callersFunction_get_elu_parameters
(op, args, kwargs)
backends/arm/_passes/decompose_elu_pass.py:61
↓ 2 callersFunction_get_embedding_weight
(weight_dir, state_dict)
examples/mediatek/aot_utils/llm_utils/utils.py:23
↓ 2 callersMethod_get_equivalent_avg_pool_parameters
(node: Node)
backends/nxp/backend/ir/converter/node_converters/ops_converters/adaptive_avg_pool_2d_converter.py:31
↓ 2 callersFunction_get_example_input
( input_spec: tuple[ModelInputSpec, ...] )
backends/nxp/tests/executorch_pipeline.py:158
↓ 2 callersMethod_get_executorch_program
Run the full pipeline and return (emitted_program, graph_module) pairs for both export pipelines.
exir/tests/test_propagate_device_pass.py:326
↓ 2 callersFunction_get_exported_program
( visualizable: ExportedProgram | EdgeProgramManager | ExecutorchProgramManager, )
devtools/visualization/visualization_utils.py:102
↓ 2 callersFunction_get_fake_tensor_mode
Helper function to create a fake tensor using the fake_mode from existing nodes in the graph. Args: graph: The graph to get fake_mod
backends/transforms/utils.py:31
↓ 2 callersMethod_get_filter_size
(self, node)
backends/qualcomm/builders/op_avg_pool2d.py:27
↓ 2 callersMethod_get_image_dynamic_shapes
(self)
examples/models/llava/model.py:401
↓ 2 callersMethod_get_input_dtype
( self, program: core_schema.Program, plan_idx: int, input_idx: int )
devtools/bundled_program/core.py:214
↓ 2 callersFunction_get_input_nodes
(graph_module: GraphModule)
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:49
↓ 2 callersMethod_get_input_qparams_map
(self, node: Node, idx: int)
backends/arm/_passes/insert_rescales_pass.py:577
↓ 2 callersMethod_get_input_type
( self, program: core_schema.Program, plan_idx: int, input_idx: int )
devtools/bundled_program/core.py:222
↓ 2 callersFunction_get_io_index
The list is short enough so linear scan is proper.
exir/print_program.py:192
↓ 2 callersMethod_get_kernel_arg
(self, schema_arg, schema_arg_idx, args, kwargs)
exir/verification/arg_validator.py:55
↓ 2 callersFunction_get_kernel_metadata_for_model
(model_file: str)
codegen/tools/gen_oplist.py:104
↓ 2 callersFunction_get_linear_weight_preprocess_pattern
()
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:24
↓ 2 callersFunction_get_matching_fake_tensor
Return the fake tensor of node.
backends/arm/tosa/backend.py:120
↓ 2 callersMethod_get_model_test_configs
Get model-specific test configurations for different recipes.
export/tests/test_target_recipes.py:321
↓ 2 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 certain
backends/xnnpack/quantizer/xnnpack_quantizer.py:195
↓ 2 callersFunction_get_mutable_buffer_specs
( nodes: Iterable[Node], graph_signature: Optional[ExportGraphSignature] )
exir/memory_planning.py:500
↓ 2 callersFunction_get_native_function_from_yaml
(yaml_obj: dict[str, object])
codegen/test/test_executorch_custom_ops.py:28
↓ 2 callersMethod_get_node
Return the first node matching the specified target, throwing an exception if no such batch norm node is found.
backends/xnnpack/test/quantizer/test_pt2e_quantization.py:381
↓ 2 callersMethod_get_node_dtype
(self, node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:199
↓ 2 callersMethod_get_node_error
Return first error log item that belong to node with id 'node_id'. If no error is present None is returned instead. :param n
backends/nxp/backend/ir/logger.py:209
↓ 2 callersMethod_get_node_rank
Return the tensor rank of a node's output, or None if unknown.
backends/transforms/remove_permutes_around_elementwise_ops.py:374
↓ 2 callersMethod_get_node_shape
(self, node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:192
↓ 2 callersFunction_get_node_value_dict
Returns a dict of real tensor values for buffers/parameters in the program
exir/passes/quant_fusion_pass.py:109
↓ 2 callersFunction_get_not_module_type_or_name_filter
( tp_list: list[Callable], module_name_list: list[str] )
backends/xnnpack/quantizer/xnnpack_quantizer.py:228
↓ 2 callersFunction_get_observer
(observer_type, is_per_channel: bool)
backends/apple/coreml/quantizer/_annotation_config.py:30
← previousnext →2,701–2,800 of 28,493, ranked by callers