Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ functions
Functions
28,493 in github.com/pytorch/executorch
⨍
Functions
28,493
◇
Types & classes
6,584
↳
Endpoints
346
↓ 3 callers
Method
ConstantSegment
(self)
exir/_serialize/generated/executorch_flatbuffer/Program.py:144
↓ 3 callers
Method
DataAsNumpy
(self)
backends/nxp/backend/ir/lib/tflite/Buffer.py:48
↓ 3 callers
Method
ExtraTensorInfo
(self)
exir/_serialize/generated/executorch_flatbuffer/Tensor.py:143
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/Operator.py:30
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/NonConstBufferDevice.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/BackendDelegate.py:33
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/Chain.py:33
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/DataSegment.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/Instruction.py:32
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/AllocationDetails.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/FrameList.py:32
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/NamedData.py:30
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/ExecutionPlan.py:37
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/Frame.py:30
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/Buffer.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/EValue.py:32
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/BackendDelegateInlineData.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/ExtraTensorInfo.py:30
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/BackendDelegateDataReference.py:29
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/CompileSpec.py:30
↓ 3 callers
Method
Init
(self, buf: bytes, pos: int)
exir/_serialize/generated/executorch_flatbuffer/ContainerMetadata.py:30
↓ 3 callers
Method
Init
(self, buf, pos)
backends/nxp/backend/ir/lib/tflite/TensorMap.py:33
↓ 3 callers
Method
InitFromObj
(cls, tensor)
exir/_serialize/generated/executorch_flatbuffer/Tensor.py:270
↓ 3 callers
Method
InitFromObj
(cls, backendDelegate)
exir/_serialize/generated/executorch_flatbuffer/BackendDelegate.py:140
↓ 3 callers
Method
InitFromObj
(cls, chain)
exir/_serialize/generated/executorch_flatbuffer/Chain.py:226
↓ 3 callers
Method
InputsAsNumpy
(self)
backends/nxp/backend/ir/lib/tflite/Operator.py:57
↓ 3 callers
Method
Instructions
(self, j: int)
exir/_serialize/generated/executorch_flatbuffer/Chain.py:91
↓ 3 callers
Method
OperatorCodes
(self, j)
backends/nxp/backend/ir/lib/tflite/Model.py:46
↓ 3 callers
Method
Subgraph
(self)
backends/nxp/backend/ir/lib/tflite/CallOptions.py:37
↓ 3 callers
Method
Version
(self)
backends/nxp/backend/ir/lib/tflite/Model.py:37
↓ 3 callers
Method
__init__
Initializes a BuiltFile. Args: src_dir: The directory of the file to install, relative to the cmake-out directory
setup.py:303
↓ 3 callers
Method
__init__
(self, data, proxy: Union[torch.fx.Proxy, torch.fx.Node])
exir/pass_base.py:121
↓ 3 callers
Method
__init__
(self, fn)
exir/tests/test_delegate.py:30
↓ 3 callers
Method
__init__
(self)
exir/tests/test_reinplace_pass.py:48
↓ 3 callers
Method
__init__
(self, names: str | List[str])
backends/cortex_m/quantizer/node_finders.py:67
↓ 3 callers
Method
__init__
(self, *args, **kwargs)
backends/cortex_m/test/ops/test_conv_transpose.py:32
↓ 3 callers
Method
__init__
(self)
backends/cortex_m/test/models/test_nn_functional.py:42
↓ 3 callers
Method
__init__
( self, op: OpOverload, runtime_input_count: int, fixed_args: Sequence[Any],
backends/test/facto/test_facto.py:73
↓ 3 callers
Method
__init__
( self, calibrate: bool = True, calibration_samples: Optional[Sequence[Any]] = None,
backends/openvino/test/tester/tester.py:24
↓ 3 callers
Method
__init__
(self, input_shape)
backends/nxp/tests/ir/converter/node_converter/test_clone_converter.py:73
↓ 3 callers
Method
__init__
(self, activation: str, inplace: bool, in_channels: int)
backends/nxp/tests/generic_tests/test_move_activation_before_concatenation.py:84
↓ 3 callers
Method
__init__
( self, size: Optional[Tuple[int]], scale_factor: Optional[float | Tuple[float]],
backends/arm/test/ops/test_upsample_bilinear2d.py:169
↓ 3 callers
Method
__init__
(self)
backends/arm/test/ops/test_sigmoid.py:48
↓ 3 callers
Method
__init__
(self, affine: bool)
backends/arm/test/passes/test_fuse_batchnorm_pass.py:33
↓ 3 callers
Method
__init__
(self)
backends/arm/test/passes/test_fuse_constant_ops_pass.py:124
↓ 3 callers
Method
__init__
(self)
backends/arm/test/misc/test_shared_qspecs.py:447
↓ 3 callers
Method
__init__
(self, dtype: torch.dtype, bias=0)
backends/arm/test/misc/test_int64.py:13
↓ 3 callers
Method
__init__
(self)
backends/arm/scripts/aot_arm_compiler.py:412
↓ 3 callers
Method
__init__
Initialize the check with a reporter and maximum rank.
backends/arm/operator_support/tosa_supported_operators.py:772
↓ 3 callers
Method
__init__
(self, per_channel: bool = True)
backends/transforms/test/test_quantize_fused_convbn_bias_pass.py:42
↓ 3 callers
Method
__init__
@verbose: if True, print out more information about the partitioner. Default level is WARNING. If verbose is True, level is set t
backends/xnnpack/partition/xnnpack_partitioner.py:31
↓ 3 callers
Method
__init__
(self, maxpool_params)
backends/xnnpack/test/ops/test_maxpool2d.py:193
↓ 3 callers
Method
__init__
(self, dim=0)
backends/xnnpack/test/ops/test_cat.py:20
↓ 3 callers
Method
__init__
(self)
backends/xnnpack/test/ops/test_add.py:18
↓ 3 callers
Method
__init__
(self, in_size, out_size)
backends/apple/mps/test/test_mps_linear.py:63
↓ 3 callers
Method
__init__
(self)
backends/apple/mps/test/test_mps_indexing_ops.py:15
↓ 3 callers
Method
__init__
( self, quantizer: Optional[CoreMLQuantizer] = None, quantization_config: Optional[Any
backends/apple/coreml/test/tester.py:46
↓ 3 callers
Method
__init__
( self, quantizer: Optional[Quantizer] = None, quantization_config: Any | None = None,
backends/vulkan/test/tester.py:26
↓ 3 callers
Method
__init__
( self, quantizer: QnnQuantizer, quantization_config: Optional[Any] = None, ca
backends/qualcomm/tests/tester.py:29
↓ 3 callers
Method
__init__
(self)
backends/cadence/aot/reorder_ops.py:736
↓ 3 callers
Method
__init__
(self, config: LlamaConfig)
examples/mediatek/models/llm_models/modeling_llama.py:17
↓ 3 callers
Method
__init__
(self, config: Gemma4_31BConfig)
examples/models/gemma4_31b/model.py:411
↓ 3 callers
Method
__init__
(self, mod)
examples/models/llama/source_transformation/quantize.py:298
↓ 3 callers
Method
__init__
Predicts masks given an image and prompt embeddings, using a transformer architecture. Arguments: transformer_dim
examples/models/efficient_sam/efficient_sam_core/efficient_sam_decoder.py:195
↓ 3 callers
Method
__init__
(self, decoder, joint)
examples/models/parakeet/export_parakeet_tdt.py:71
↓ 3 callers
Method
__init__
(self)
examples/models/emformer_rnnt/model.py:116
↓ 3 callers
Method
__init__
( self, encoder: nn.Module, decoder: nn.Module, quantizer: BaseQuantizer,
examples/qualcomm/oss_scripts/moshi/model/static_mimi.py:483
↓ 3 callers
Method
__init__
( self, stride: int, dimension: tp.Optional[int] = None, causal: bool = False,
examples/qualcomm/oss_scripts/moshi/model/static_convtr.py:143
↓ 3 callers
Method
__init__
( self, config: Idefics3Config, img_resized_h: int = 512, img_resized_w: int = 512 )
examples/qualcomm/oss_scripts/llama/model/vision_encoder.py:158
↓ 3 callers
Method
__init__
(self)
examples/qualcomm/oss_scripts/llama/encoder/encoder_quant_recipe.py:23
↓ 3 callers
Method
__init__
( self, config, max_hidden_seq_length=4096, max_cache_length=1024, )
examples/qualcomm/oss_scripts/t5/t5_model.py:23
↓ 3 callers
Method
__init__
(self, alpha: float)
examples/cadence/operators/test_g3_ops.py:30
↓ 3 callers
Method
__new__
( cls, elem: torch.Tensor, proxy: torch.fx.Proxy, is_immutable: bool = False )
exir/tracer.py:245
↓ 3 callers
Method
_adapt_permute_across_view
Adjust a permutation across a squeeze/unsqueeze boundary. Adapts from input-rank to output-rank space (downstream direction). Returns
backends/transforms/remove_permutes_around_elementwise_ops.py:119
↓ 3 callers
Method
_annotate_all_patterns
( self, model: _torch.fx.GraphModule, quantization_config: _Optional[_ModuleLinearQuan
backends/apple/coreml/quantizer/_coreml_quantizer.py:589
↓ 3 callers
Method
_annotate_all_static_patterns
Annotate all static patterns registered for the backend. Args: model (GraphModule): Model to annotate statically. qua
backends/arm/quantizer/arm_quantizer.py:942
↓ 3 callers
Method
_apply_fn_to_data
(self, fn)
examples/models/llama/experimental/subclass.py:352
↓ 3 callers
Function
_arg_from_node
Fetch an argument either by keyword or positional index.
backends/arm/operator_support/as_strided_copy_support.py:26
↓ 3 callers
Function
_as_int32
Convert numpy scalars to signed int32 with a clear error on overflow.
backends/arm/arm_vela.py:23
↓ 3 callers
Function
_as_list
Return ``x`` wrapped as a list if needed. Args: x: Value or list of values. Returns: list: ``x`` if already a list; otherwis
backends/arm/quantizer/quantization_annotator.py:88
↓ 3 callers
Function
_assert_bias_dequantized
Assert every conv's bias flows through a dequantize node.
backends/transforms/test/test_quantize_fused_convbn_bias_pass.py:117
↓ 3 callers
Method
_assert_equivalence
Generate random audio and compare custom vs HF output.
examples/models/gemma4/tests/test_speech_transform.py:48
↓ 3 callers
Method
_associate_with_op_graph_nodes
Helper function to populate the stack_traces, module_hierarchy and op_types attributes based on the debug handles of this event
devtools/inspector/_inspector.py:667
↓ 3 callers
Function
_bool_to_fp32_count
Sum of a bool mask cast to fp32 → a 0-d fp32 count.
devtools/intermediate_output_tap/_reducers.py:122
↓ 3 callers
Method
_build_quantized_recipe
( self, recipe_type: RecipeType, is_per_channel: bool = True, is_dynamic: bool
backends/xnnpack/recipes/xnnpack_recipe_provider.py:115
↓ 3 callers
Method
_build_slot_variant_vector
( self, builder: flatbuffers.Builder, slots: List[SlotVariant] )
backends/mlx/serialization/mlx_graph_serialize.py:262
↓ 3 callers
Method
_calculate_elapsed_time
(start_time, end_time)
devtools/inspector/_inspector.py:485
↓ 3 callers
Method
_calibrate
(self, model, calibration_datasets)
examples/qualcomm/oss_scripts/llama/wrappers/llm_wrappers.py:1137
↓ 3 callers
Function
_capture_pass_logs
Run fn and return replacement pass log messages.
backends/cuda/tests/test_sdpa_splitk_replacement.py:88
↓ 3 callers
Method
_check
(self, out, ref, tol=0.15)
backends/cuda/tests/test_int4_dispatch.py:191
↓ 3 callers
Function
_check_dtype
Check if a node has a supported dtype. Args: node: The FX node to check Returns: None if the node's dtype is supported,
backends/mlx/builder/program_builder.py:68
↓ 3 callers
Method
_check_fully_partitioned
Check if the graph is fully partitioned (all operators have the same tag).
backends/cuda/tests/test_cuda_partitioner.py:45
↓ 3 callers
Method
_check_named_data_store_output
( self, reference: NamedDataStoreOutput, actual: NamedDataStoreOutput )
exir/_serialize/test/test_program.py:316
↓ 3 callers
Function
_check_quant_params
(pipeline, expected)
backends/arm/test/misc/test_shared_qspecs.py:71
↓ 3 callers
Method
_check_sdpa
Run model through ExecuTorch AOTI with both Triton ON and OFF.
backends/cuda/tests/test_output_stride_rearrange.py:87
↓ 3 callers
Function
_collect_public_api
()
backends/arm/scripts/generate_public_api_manifest.py:105
↓ 3 callers
Method
_collect_tensor_specs
Return a flat list of TensorSpecs from a node's 'spec' metadata.
exir/tests/test_propagate_device_pass.py:131
↓ 3 callers
Method
_combine_branches
( self, bool_op, bool_args: tuple[torch.Tensor, float], branches: tuple[torch.
backends/arm/_passes/decompose_asin_and_acos_pass.py:104
↓ 3 callers
Method
_compare_eager_unquantized_model_outputs
Utility to compare eager unquantized model output with session output using SQNR
backends/xnnpack/test/recipes/test_xnnpack_recipes.py:68
↓ 3 callers
Function
_compile_spec
()
backends/arm/test/passes/test_rewrite_conv_pass.py:64
← previous
next →
1,701–1,800 of 28,493, ranked by callers