MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersFunction_insert_copy
Find the all the buffers and inputs that were mutated and insert copy_ operators to reflect mutations.
exir/passes/insert_write_back_for_buffers_pass.py:24
↓ 1 callersMethod_insert_dequant_node
( self, graph_module: torch.fx.GraphModule, node: torch.fx.node, target: torch
backends/qualcomm/_passes/insert_io_qdq.py:113
↓ 1 callersFunction_insert_disabled_linear_bias
Inserts a zeros_like node to disable the linear layer's bias application. Expects the application to be placed after the linear output denorm
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:102
↓ 1 callersMethod_insert_fallback_op
Insert fallback op before layer that needs to be shard. Example: There is 12 layers llama model and num_sharding is 3.
extension/llm/custom_ops/model_sharding.py:55
↓ 1 callersFunction_insert_later_bias_application
Moves bias application from the normalized space to after simulated denormalization.
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:138
↓ 1 callersFunction_insert_linear_output_denorm
Inserts div node between linear and batch norm layers. This denormalizes the linear output by dividing by the scale factor.
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/add_simulated_linear_bn_fusion_qat_pass.py:84
↓ 1 callersFunction_insert_mutable_buffer_specs
( state: "_MemoryPlanningState", gm: torch.fx.GraphModule, gs: ExportGraphSignature )
exir/passes/memory_planning_pass.py:83
↓ 1 callersMethod_insert_output_rescale
(self, graph_module, node, tosa_matmul_node, dtype)
backends/arm/_passes/rewrite_matmul.py:30
↓ 1 callersMethod_insert_placeholder_i64_to_i32_casts
(self, graph_module: torch.fx.GraphModule)
backends/arm/_passes/insert_int32_casts_after_int64_placeholders.py:88
↓ 1 callersMethod_insert_quant_node
( self, graph_module: torch.fx.GraphModule, node: torch.fx.node, target: torch
backends/qualcomm/_passes/insert_io_qdq.py:96
↓ 1 callersMethod_insert_seq_mse
( self, graph_module: torch.fx.GraphModule )
backends/qualcomm/_passes/seq_mse.py:154
↓ 1 callersMethod_insert_to_copy
( self, graph_module: torch.fx.GraphModule, node: torch.fx.node, quant_attr: D
backends/qualcomm/_passes/insert_requantize.py:55
↓ 1 callersFunction_install_fast_packers
()
exir/_serialize/_flatbuffer_program.py:115
↓ 1 callersFunction_instance_path
Extract the qualified-path string from an `nn_module_stack` entry.
devtools/intermediate_output_tap/_selectors.py:71
↓ 1 callersMethod_instantiate_pass
(self, pass_)
backends/arm/test/tester/arm_tester.py:265
↓ 1 callersMethod_int_matmul
( self, quantized_q, quantized_k, q_zero_points, q_scale, k_zero_point, k_scale )
extension/llm/custom_ops/test_quantized_sdpa.py:141
↓ 1 callersFunction_interleave
( input: torch.Tensor, group_size, )
examples/models/llama/experimental/subclass.py:75
↓ 1 callersMethod_inverse_permutation
(perm: tuple[int, ...])
backends/arm/_passes/normalize_delegate_io_layout_pass.py:31
↓ 1 callersMethod_invert_dict
(self, requantize_dict)
backends/qualcomm/_passes/insert_requantize.py:48
↓ 1 callersFunction_is_annotated
Given a list of nodes (that represents an operator pattern), check if any of the node is annotated, return True if any of the node is ann
backends/vulkan/quantizer/vulkan_quantizer_utils.py:68
↓ 1 callersFunction_is_arg_min_max_over_flattened_input
``argmin``/``argmax`` with ``dim=None`` reduces over the flattened input. CoreML doesn't support that reduction shape and intermittently crashes
backends/apple/coreml/partition/coreml_partitioner.py:74
↓ 1 callersMethod_is_auto_func_et_kv_cache_update
Check if a node is auto_functionalized_v2 wrapping mlx.kv_cache_update.
backends/mlx/patterns.py:160
↓ 1 callersMethod_is_auto_func_gated_delta_rule
(node: Node)
backends/mlx/model_ops/gated_delta_rule.py:148
↓ 1 callersFunction_is_backend
(obj: object)
backends/arm/scripts/generate_public_api_manifest.py:52
↓ 1 callersMethod_is_constant
Check if a node's value is available at compile time. Only considers direct constants (get_attr, parameter/buffer/constant placeholder
backends/transforms/remove_permutes_around_elementwise_ops.py:356
↓ 1 callersFunction_is_contiguous_tensor
Ensure the tensor is pytorch contigous (torch.memory_format=torch.contiguous) since the runtime can not handle non-contiguous tensors
test/end2end/test_end2end.py:427
↓ 1 callersMethod_is_conv3d
(self, rank, groups)
backends/arm/_passes/rewrite_conv_pass.py:130
↓ 1 callersMethod_is_conv_1d
(node: Node)
backends/nxp/aten_passes/convert_1d_conv_to_2d.py:178
↓ 1 callersFunction_is_cpu_clone_active
()
backends/cuda/cuda_backend.py:57
↓ 1 callersFunction_is_denorm_pattern
(node: Node)
backends/nxp/aten_passes/simulated_linear_bn_fusion_passes/remove_simulated_linear_bn_fusion_qat_pass.py:64
↓ 1 callersMethod_is_depthwise_conv
(input_node, groups, transposed)
backends/arm/_passes/decompose_grouped_conv_pass.py:86
↓ 1 callersMethod_is_depthwise_conv2d
(self, node: torch.fx.Node)
backends/arm/_passes/rewrite_conv_pass.py:116
↓ 1 callersFunction_is_dequantize
(node_: Node)
backends/nxp/edge_passes/move_auxiliary_operator_into_separate_qdq_cluster_pass.py:63
↓ 1 callersMethod_is_div_tensor
(node_: Node)
backends/nxp/aten_passes/convert_div_to_mul.py:37
↓ 1 callersFunction_is_dq
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:39
↓ 1 callersMethod_is_dynamic_padding
( self, padding: ProxyValue | list[int] | tuple[int, ...] )
backends/arm/_passes/insert_dynamic_padding.py:31
↓ 1 callersFunction_is_dynamic_shape_tensor
(tensor: Tensor)
exir/print_program.py:75
↓ 1 callersFunction_is_expand
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:66
↓ 1 callersFunction_is_fake_tensor
(node: Node)
backends/samsung/quantizer/annotator.py:72
↓ 1 callersFunction_is_float_activation_tensor
(node: Node)
backends/mediatek/quantizer/annotator.py:73
↓ 1 callersFunction_is_fuseable_r1
Check if node is an R1 candidate. R1 is RESCALE(INT32 -> INT8/INT16) with per-tensor scale.
backends/arm/_passes/fuse_consecutive_rescales_pass.py:115
↓ 1 callersFunction_is_fused_moving_avg_obs_fake_quant_ctor
Return True when ``func`` is the fused fake-quant class or a subclass.
backends/arm/quantizer/quantization_annotator.py:51
↓ 1 callersFunction_is_get_attr
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:26
↓ 1 callersMethod_is_handled
(self, node: Node)
backends/mlx/builder/program_builder.py:372
↓ 1 callersFunction_is_hardtanh_for_relux
(relu_node: torch.fx.node.Node)
backends/samsung/quantizer/annotator.py:111
↓ 1 callersFunction_is_init
(name: str)
backends/arm/scripts/generate_public_api_manifest.py:46
↓ 1 callersFunction_is_inplace_node
(node: torch.fx.Node)
exir/memory_planning.py:309
↓ 1 callersFunction_is_inplace_node
Check if a node is an inplace node.
exir/passes/insert_write_back_for_buffers_pass.py:71
↓ 1 callersMethod_is_input_annotated
(self, node: fx.Node)
backends/nxp/quantizer/neutron_quantizer.py:360
↓ 1 callersMethod_is_input_output_copy
Return True if the node input is a graph input and output goes into an output node.
backends/transforms/remove_clone_ops.py:98
↓ 1 callersMethod_is_int16_activation_conv
(self, node: torch.fx.Node)
backends/arm/_passes/rewrite_conv_pass.py:215
↓ 1 callersFunction_is_jax
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:220
↓ 1 callersMethod_is_legit_node
(self, node)
backends/qualcomm/tests/utils.py:874
↓ 1 callersFunction_is_macos
()
setup.py:95
↓ 1 callersFunction_is_mlx
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:231
↓ 1 callersFunction_is_mul
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:50
↓ 1 callersFunction_is_mutable_buffer
(node: torch.fx.Node, exported_program: ExportedProgram)
exir/passes/reinplace.py:257
↓ 1 callersFunction_is_mutable_buffer
Check if the node is mutable buffer according to the provided graph signature.
exir/passes/spec_prop_pass.py:34
↓ 1 callersFunction_is_mutable_buffer
Check if the node is mutable buffer according to the provided graph signature. If it is one return its fqn as well
exir/passes/memory_planning_pass.py:61
↓ 1 callersFunction_is_mutable_user_input
( node: torch.fx.Node, exported_program: ExportedProgram )
exir/passes/reinplace.py:249
↓ 1 callersFunction_is_mutable_weight
(node: torch.fx.Node, ep: ExportedProgram)
exir/passes/external_constants_pass.py:54
↓ 1 callersMethod_is_mutating_user
(self, node: fx.Node, user: fx.Node)
backends/aoti/passes/replace_view_copy_with_view.py:59
↓ 1 callersFunction_is_nc_compatible_with_node
Basic dtype compatibility check between FX node and an NormalizedConstraints variant.
backends/qualcomm/quantizer/validators.py:232
↓ 1 callersFunction_is_node
(node)
backends/qualcomm/_passes/utils.py:185
↓ 1 callersMethod_is_node_call_function
(self, node: torch.fx.node.Node)
backends/nxp/neutron_partitioner.py:255
↓ 1 callersMethod_is_node_supported_non_compute
If the node is a quantize, dequantize or auxiliary node inside a QDQ cluster, the support on Neutron is determined by the support of
backends/nxp/neutron_partitioner.py:294
↓ 1 callersMethod_is_node_supported_u55
Enforce Ethos-U55-specific constraints (Vela 5.0.0). Check channel dimensions, kernel sizes, and stride/pad/dilation combinations per
backends/arm/operator_support/convolution_support.py:191
↓ 1 callersMethod_is_non_identity_clone
Return True if clone has modified memory layout or dim order.
backends/transforms/remove_clone_ops.py:74
↓ 1 callersFunction_is_noop_alias_copy
(node: torch.fx.Node)
backends/arm/tosa/partitioner.py:70
↓ 1 callersFunction_is_noop_as_strided_copy
(node: torch.fx.Node)
backends/arm/tosa/partitioner.py:78
↓ 1 callersFunction_is_noop_clone
(node: torch.fx.node.Node)
backends/arm/tosa/partitioner.py:66
↓ 1 callersFunction_is_noop_detach_copy
(node: torch.fx.Node)
backends/arm/tosa/partitioner.py:74
↓ 1 callersFunction_is_noop_expand
(node: torch.fx.node.Node)
backends/arm/tosa/partitioner.py:99
↓ 1 callersFunction_is_noop_passthrough
(node: torch.fx.Node)
backends/vulkan/patterns/quantized_pixel_shuffle.py:34
↓ 1 callersFunction_is_noop_squeeze
(node: torch.fx.Node)
backends/arm/tosa/partitioner.py:107
↓ 1 callersFunction_is_noop_to_dim_order_copy
(node: torch.fx.node.Node)
backends/arm/tosa/partitioner.py:91
↓ 1 callersFunction_is_numpy
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:145
↓ 1 callersFunction_is_ok_for_quantization
Check if a node can be quantized. A node can be quantized if: - All inputs that are required for quantization are of type `float32` and
backends/arm/quantizer/quantization_annotator.py:189
↓ 1 callersFunction_is_optional
(T: Any)
exir/_serialize/_dataclass.py:35
↓ 1 callersFunction_is_output
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:38
↓ 1 callersFunction_is_parameter_used
( ep: ExportedProgram, parameter: str, placeholder_nodes: dict[str, torch.fx.Node] )
exir/passes/remove_unused_parameters_pass.py:46
↓ 1 callersFunction_is_permute
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:54
↓ 1 callersFunction_is_placeholder
(node)
backends/qualcomm/_passes/recompose_rms_norm.py:22
↓ 1 callersMethod_is_pointwise
Check if a target op is tagged as pointwise in ATen.
backends/transforms/remove_permutes_around_elementwise_ops.py:382
↓ 1 callersMethod_is_potentially_delegable_node
Determines if the node is NOT one of the following: - output - lowered_module - getitem - executorch_call_del
backends/nxp/backend/node_format_inference.py:230
↓ 1 callersFunction_is_public
(name: str)
backends/arm/scripts/generate_public_api_manifest.py:42
↓ 1 callersFunction_is_quantize
(node_: Node)
backends/nxp/edge_passes/move_auxiliary_operator_into_separate_qdq_cluster_pass.py:72
↓ 1 callersFunction_is_quantized_constant
(node: torch.fx.Node)
backends/arm/operator_support/tosa_supported_operators.py:149
↓ 1 callersMethod_is_quantized_conv
(self, node: torch.fx.Node)
backends/arm/_passes/rewrite_conv_pass.py:212
↓ 1 callersMethod_is_quantized_int8_activation
(self, node: Node)
backends/cortex_m/passes/quantized_clamp_activation_pass.py:73
↓ 1 callersMethod_is_regular_split
(node: Node)
backends/nxp/aten_passes/decompose_split_to_slices_pass.py:74
↓ 1 callersMethod_is_reorder_profitable
Determine whether sinking the permute past the mean is profitable. Three cases, in order of evaluation: 1. The original permute does
backends/cadence/aot/remove_ops.py:481
↓ 1 callersMethod_is_safe
Cached version of _is_safe_target.
exir/passes/cse_pass.py:127
↓ 1 callersMethod_is_safe_target
Determine if an op target is safe for CSE. Uses schema introspection for OpOverload targets: if no argument has alias_info w
exir/passes/cse_pass.py:53
↓ 1 callersFunction_is_safe_to_reinplace
( node: torch.fx.Node, later_nodes: Set[torch.fx.Node], inputs: Set[torch.fx.Node], mutable_in
exir/passes/reinplace.py:229
↓ 1 callersFunction_is_share_obs_or_fq_op
(op: Callable)
backends/xnnpack/quantizer/xnnpack_quantizer_utils.py:1038
↓ 1 callersFunction_is_share_obs_or_fq_op
(op: Callable[..., torch.Tensor])
backends/vulkan/quantizer/vulkan_quantizer_utils.py:139
↓ 1 callersFunction_is_single_tensor_list_return
(target: torch._ops.OpOverload)
exir/serde/export_serialize.py:397
↓ 1 callersMethod_is_split_with_sizes
(node: Node)
backends/nxp/aten_passes/decompose_split_to_slices_pass.py:67
↓ 1 callersMethod_is_squeeze
(node_: Node)
backends/nxp/edge_passes/convert_reshaping_nodes_to_view.py:44
← previousnext →6,201–6,300 of 28,493, ranked by callers