MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersFunctioncreate_argument_parser
Create command line argument parser
examples/openvino/stable_diffusion/export_lcm.py:368
↓ 1 callersMethodcreate_aten_fn_call
(self)
backends/vulkan/test/op_tests/utils/gen_computegraph.py:279
↓ 1 callersMethodcreate_aten_method_call
(self)
backends/vulkan/test/op_tests/utils/gen_computegraph.py:286
↓ 1 callersFunctioncreate_bundled_program
Create a bundled program containing the model and test cases for correctness testing. Args: executorch_program: The ExecutorchProgra
backends/vulkan/test/utils.py:674
↓ 1 callersMethodcreate_call_function_node
( self, graph_module: torch.fx.GraphModule, target: torch.fx.node.Target, args
backends/qualcomm/_passes/layout_transform.py:271
↓ 1 callersMethodcreate_causal_mask_for_ring_buffer
(self, start_pos, seq_len)
examples/models/llama/attention.py:295
↓ 1 callersMethodcreate_concat_node
Create an `aten.cat.default` node with the provided arguments. The node will NOT be added to the graph automatically. :param cat
backends/nxp/aten_passes/split_gru_based_on_num_layers.py:160
↓ 1 callersFunctioncreate_constant_nodes_and_return_specs
Creates constant nodes for all entries in `const_node_to_tensor` and returns a node.name -> InputSpec dict.
exir/passes/constant_prop_pass.py:270
↓ 1 callersFunctioncreate_data_lists
Create lists of images, the bounding boxes and labels of the objects in these images, and save these to file. :param voc07_path: path to the
examples/qualcomm/oss_scripts/ssd300_vgg16.py:30
↓ 1 callersMethodcreate_depthwise_convolution_graph_module
Helper to create a depthwise convolution node. For depthwise convolution, groups == input_channels. Input shape: [N, C, H, W] = [1, 8
backends/cadence/aot/tests/test_replace_ops_passes.py:2423
↓ 1 callersFunctioncreate_device_inputs
(example_inputs)
examples/qualcomm/oss_scripts/llm_utils/eval_decoder_model_qnn.py:31
↓ 1 callersFunctioncreate_digit_0
Create a test pattern for digit 0.
examples/raspberry_pi/pico2/export_mlp_mnist.py:155
↓ 1 callersFunctioncreate_digit_1
Create a test pattern for digit 1.
examples/raspberry_pi/pico2/export_mlp_mnist.py:131
↓ 1 callersFunctioncreate_digit_7
Create a test pattern for digit 7.
examples/raspberry_pi/pico2/export_mlp_mnist.py:142
↓ 1 callersMethodcreate_encoder
(self, config)
examples/qualcomm/oss_scripts/llama/encoder/encoder_config.py:41
↓ 1 callersMethodcreate_input_data
(self, arg: Argument, data: Any)
backends/vulkan/test/op_tests/utils/gen_correctness_base.py:157
↓ 1 callersFunctioncreate_inspector_coreml
( edge_program: EdgeProgramManager, compile_specs: List[CompileSpec], example_inputs: Tuple[Value,
examples/apple/coreml/scripts/inspector_utils.py:263
↓ 1 callersFunctioncreate_inspector_reference
( edge_program: EdgeProgramManager, example_inputs: Tuple[Value, ...], model_name: str, root_d
examples/apple/coreml/scripts/inspector_utils.py:293
↓ 1 callersFunctioncreate_kernel_key
(maybe_kernel_key: str)
codegen/tools/gen_oplist.py:198
↓ 1 callersMethodcreate_linear
( self, graph_module: torch.fx.GraphModule, node: torch.fx.Node, src_partition
backends/xnnpack/_passes/convert_to_linear.py:92
↓ 1 callersFunctioncreate_llava_config_from_args
Create an LlmConfig from command line arguments for LLaVA export
examples/models/llava/export_llava.py:277
↓ 1 callersFunctioncreate_mel_filterbank
Create a triangular mel filterbank matrix of shape [n_freqs, n_mels].
examples/models/gemma4/speech_transform.py:31
↓ 1 callersFunctioncreate_mock_node_1
()
backends/arm/test/misc/test_debug_hook.py:26
↓ 1 callersFunctioncreate_mock_node_2
()
backends/arm/test/misc/test_debug_hook.py:64
↓ 1 callersFunctioncreate_mock_node_3
()
backends/arm/test/misc/test_debug_hook.py:89
↓ 1 callersMethodcreate_model
(self)
backends/mlx/test/test_utils.py:856
↓ 1 callersMethodcreate_model
(self)
backends/mlx/test/test_ops.py:4203
↓ 1 callersMethodcreate_model
(self, x)
backends/openvino/tests/ops/test_arange.py:9
↓ 1 callersMethodcreate_model
(self, op, dtype)
backends/openvino/tests/ops/test_unary_ops.py:14
↓ 1 callersMethodcreate_model
(self, weights, bias, eps)
backends/openvino/tests/ops/test_batch_norm.py:28
↓ 1 callersMethodcreate_model
(self, axes, keep_dims, dtype)
backends/openvino/tests/ops/test_mean.py:51
↓ 1 callersMethodcreate_model
( self, op_type, kernel_size, stride, padding, dilation=1,
backends/openvino/tests/ops/test_pooling.py:21
↓ 1 callersMethodcreate_model
(self)
backends/openvino/tests/ops/test_addmm.py:9
↓ 1 callersMethodcreate_model
( self, weights_shape, strides, pads, dilations, groups,
backends/openvino/tests/ops/test_convolution.py:208
↓ 1 callersMethodcreate_model
(self, target_shape)
backends/openvino/tests/ops/test_view.py:14
↓ 1 callersMethodcreate_model
(self, order)
backends/openvino/tests/ops/test_permute.py:14
↓ 1 callersFunctioncreate_model_bundle
( model_name: str, input_height: int, input_width: int, checkpoint: str | None = None, che
examples/arm/super_resolution_example_vgf/model_export/common.py:290
↓ 1 callersMethodcreate_null_value
(self)
backends/vulkan/serialization/vulkan_graph_builder.py:186
↓ 1 callersMethodcreate_op_call
(self)
backends/vulkan/test/op_tests/utils/gen_computegraph.py:508
↓ 1 callersMethodcreate_out_src
(self, include_declarations: bool = True)
backends/vulkan/test/op_tests/utils/gen_computegraph.py:294
↓ 1 callersFunctioncreate_pte_wrapper
Create a wrapper function that adapts PTE execution to the interface expected by StaticAttentionIOManager. This multifunction version se
examples/apple/coreml/llama/utils.py:175
↓ 1 callersFunctioncreate_pte_wrapper
Create a wrapper function that adapts PTE execution to the interface expected by StaticAttentionIOManager. The wrapper: - Takes (tok
examples/apple/coreml/llama/run_static_llm.py:41
↓ 1 callersMethodcreate_quantized_state_dict
(self)
examples/models/llama/source_transformation/quantize.py:301
↓ 1 callersMethodcreate_quantized_state_dict
(self)
examples/models/llama/source_transformation/quantize.py:360
↓ 1 callersMethodcreate_quantized_state_dict
(self, packed=False)
examples/models/llama/source_transformation/quantize.py:595
↓ 1 callersMethodcreate_recipe
Create a recipe for a specific backend. Args: recipe_type: The type of recipe to create backend: Backend nam
export/recipe_registry.py:43
↓ 1 callersFunctioncreate_replacement_for_pattern
( ep: ExportedProgram, graph_module: torch.fx.GraphModule, patterns: List[torch.fx.GraphModule],
backends/vulkan/patterns/__init__.py:98
↓ 1 callersMethodcreate_scalar_list_value
(self, arg: List[_ScalarType])
backends/vulkan/serialization/vulkan_graph_builder.py:282
↓ 1 callersMethodcreate_sdpa
( self, graph_module: torch.fx.GraphModule, match: InternalMatch, )
backends/xnnpack/_passes/convert_to_sdpa.py:63
↓ 1 callersMethodcreate_slice_after
Create a TFLite 'Slice' operator after the 'after_op' operator. The output of 'after_op' on index 'on_output_index' is where the 'Sli
backends/nxp/backend/ir/converter/builder/model_builder.py:1343
↓ 1 callersMethodcreate_string_value
(self, string: str)
backends/vulkan/serialization/vulkan_graph_builder.py:340
↓ 1 callersMethodcreate_symint_value
(self)
backends/vulkan/serialization/vulkan_graph_builder.py:213
↓ 1 callersFunctioncreate_tensor_allocation_info
Creates a memory timlines, where each step in the timeline is a list of active allocations at that timestep.
util/activation_memory_profiler.py:51
↓ 1 callersFunctioncreate_tensor_with_dtype
Create a tensor with the given shape and dtype. '_max' indicates the maximum value in the tensor.
examples/cadence/operators/test_requantize_op.py:29
↓ 1 callersMethodcreate_test_inputs
Create inputs for testing. Override for dynamic shape tests.
backends/mlx/test/test_utils.py:863
↓ 1 callersMethodcreate_token_type_ids_from_sequences
Create the token type IDs corresponding to the sequences passed. [What are token type IDs?](../glossary#token-type-ids) @lint-ignore
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:3619
↓ 1 callersMethodcreate_upsample_bilinear_2d
( self, graph_module: torch.fx.GraphModule, internal_match: InternalMatch, ali
backends/xnnpack/_passes/convert_to_upsample_bilinear2d.py:21
↓ 1 callersFunctioncrop_input_tensor
( image: torch.Tensor, input_height: int, input_width: int, crop_mode: str, )
examples/arm/super_resolution_example_vgf/model_export/common.py:79
↓ 1 callersFunctioncrop_super_resolution_pair
( lr_tensor: torch.Tensor, hr_tensor: torch.Tensor, input_height: int, input_width: int, u
examples/arm/super_resolution_example_vgf/model_export/common.py:189
↓ 1 callersMethodcut_text
Cut text.
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils.py:255
↓ 1 callersMethoddata_matches_meta_of_following_getitem_nodes
Verify that the provided `data` tensor has the same shape and datatype as the `GetItem` nodes which consume the output of the `root_node`.
backends/nxp/aten_passes/remove_nodes_with_known_outputs.py:138
↓ 1 callersFunctiondebug_fail
( node, graph_module, tosa_graph: Optional[ts.TosaSerializer] = None, path: Optional[str] = No
backends/arm/common/debug.py:69
↓ 1 callersFunctiondebug_node
(node: torch.fx.Node, graph_module: torch.fx.GraphModule)
backends/arm/common/debug.py:18
↓ 1 callersMethoddeclare_vk_out_for
(self, ref: Union[ValueRef, List[ValueRef]])
backends/vulkan/test/op_tests/utils/gen_computegraph.py:634
↓ 1 callersMethoddecode
Converts a sequence of ids in a string. Using the tokenizer and vocabulary with options to remove special tokens and clean up tokeniz
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:4095
↓ 1 callersMethoddecode_image
Decode latents to final image using VAE decoder
examples/openvino/stable_diffusion/openvino_lcm.py:193
↓ 1 callersFunctiondecode_n_tokens
( model: torch.nn.Module, cur_token: torch.Tensor, num_new_tokens: int, callback=lambda _: _,
examples/models/llama/experimental/generate.py:60
↓ 1 callersMethoddecompose_node
( self, node: torch.fx.Node, graph_module: torch.fx.GraphModule )
backends/xnnpack/_passes/decompose_batch_norm.py:236
↓ 1 callersFunctiondecorator
(fake_impl: Callable)
backends/arm/tosa/dialect/ops/custom.py:96
↓ 1 callersFunctiondeduce_dtype
( tensor: torch.Tensor, quant_infos: Optional[Dict] = None )
backends/qualcomm/builders/utils.py:146
↓ 1 callersFunctiondefault_expr
(d: str, t: Type)
codegen/api/et_cpp.py:255
↓ 1 callersFunctiondefault_output_process
(node)
backends/qualcomm/_passes/utils.py:151
↓ 1 callersMethoddefine_constant
Defines a scalar value into the MPSGraph serialization schema Args: constant_tensor (torch.fx.Node): EdgeIR tensor to define into
backends/apple/mps/operators/node_visitor.py:150
↓ 1 callersMethoddefine_node
( self, node: torch.fx.Node, enn_graph: EnnGraph, vals_to_ids: Dict[torch.Tens
backends/samsung/builders/op_sub.py:24
↓ 1 callersMethoddefine_node
( self, node: Node, tosa_graph: Any, inputs: List[TosaArg], output: To
backends/arm/operators/op_any.py:28
↓ 1 callersMethoddefine_node
( self, node: torch.fx.Node, xnn_graph: XNNGraph, vals_to_ids: Dict[torch.fx.N
backends/xnnpack/operators/op_floor.py:29
↓ 1 callersMethoddefine_node
( self, node: torch.fx.Node, mps_graph: MPSGraph, )
backends/apple/mps/operators/shape_ops.py:88
↓ 1 callersMethoddefine_scalar
Defines a scalar value into the MPSGraph serialization schema Args: mps_graph (MPSGraph): MPSGraph object for serializing into fl
backends/apple/mps/operators/node_visitor.py:185
↓ 1 callersMethoddenoise_latents
Run the denoising process using the UNet model with LCM scheduler
examples/openvino/stable_diffusion/openvino_lcm.py:122
↓ 1 callersFunctiondequantize_per_tensor_cmsis
Simulate CMSIS-NN fixed-point dequantization: result = (qtensor - zero_point) * multiplier * 2^shift / 2^31
backends/cortex_m/passes/passes_utils.py:75
↓ 1 callersFunctiondequantize_per_tensor_common
Dequantizes an integral tensor to a floating-point tensor. Args: - input (Tensor): input tensor - scale (float): Quantizatio
backends/cadence/aot/ref_implementations.py:172
↓ 1 callersMethoddeserialize_alloc_inputs
(self, serialized_inputs: List[schema.NamedArgument])
exir/serde/serialize.py:522
↓ 1 callersMethoddeserialize_call_delegate_inputs
( self, serialized_inputs: List[schema.NamedArgument] )
exir/serde/serialize.py:570
↓ 1 callersMethoddeserialize_constant_input
(self, inp: ConstantValue)
exir/serde/export_serialize.py:2019
↓ 1 callersFunctiondeserialize_from_json_to_bundled_program
( program_json: bytes, )
devtools/bundled_program/serialize/__init__.py:43
↓ 1 callersMethoddeserialize_graph_output
(self, output)
exir/serde/export_serialize.py:1589
↓ 1 callersMethoddeserialize_hoo_inputs
For deserializing HOO inputs since HOOs do not have a schema.
exir/serde/export_serialize.py:1930
↓ 1 callersMethoddeserialize_input_spec
(self, i: InputSpec)
exir/serde/export_serialize.py:1729
↓ 1 callersMethoddeserialize_inputs_no_schema
(self, serialized_node)
exir/serde/serialize.py:403
↓ 1 callersMethoddeserialize_lowered_module
( self, serialized_lowered_module_arg: schema.NamedArgument )
exir/serde/serialize.py:581
↓ 1 callersMethoddeserialize_module_call_graph
( self, module_call_graph: List[ModuleCallEntry] )
exir/serde/export_serialize.py:2226
↓ 1 callersMethoddeserialize_module_call_signature
( self, module_call_signature: ModuleCallSignature )
exir/serde/export_serialize.py:2212
↓ 1 callersMethoddeserialize_node
(self, serialized_node: Node, target: Callable)
exir/serde/export_serialize.py:1681
↓ 1 callersMethoddeserialize_output_spec
(self, o: OutputSpec)
exir/serde/export_serialize.py:1781
↓ 1 callersMethoddeserialize_outputs
( self, serialized_node: schema.Node, fx_node: torch.fx.Node )
exir/serde/serialize.py:484
↓ 1 callersMethoddeserialize_script_obj_meta
( self, script_obj_meta: CustomObjArgument )
exir/serde/export_serialize.py:1581
↓ 1 callersMethoddeserialize_signature
(self, sig: GraphSignature)
exir/serde/export_serialize.py:1827
↓ 1 callersMethoddeserialize_sym_bool
(self, s: SymBool)
exir/serde/export_serialize.py:1553
↓ 1 callersMethoddeserialize_sym_op_inputs
(self, inputs)
exir/serde/export_serialize.py:1908
↓ 1 callersMethoddeserialize_sym_op_outputs
(self, serialized_node: Node, fx_node: torch.fx.Node)
exir/serde/export_serialize.py:2046
← previousnext →7,201–7,300 of 28,493, ranked by callers