Home
last modified time | relevance | path

Searched refs:OperatorSupportBase (Results 1 – 18 of 18) sorted by relevance

/external/pytorch/torch/fx/passes/
Doperator_support.py29 class OperatorSupportBase(abc.ABC): class
39 class OperatorSupport(OperatorSupportBase):
136 def create_op_support(is_node_supported: IsNodeSupported) -> OperatorSupportBase:
142 class FunctionalOperatorSupport(OperatorSupportBase):
151 def chain(*op_support: OperatorSupportBase) -> OperatorSupportBase: argument
165 def any_chain(*op_support: OperatorSupportBase) -> OperatorSupportBase: argument
184 def decline_if_input_dtype(cls, dtype: torch.dtype) -> OperatorSupportBase:
199 def decline_if_node_in_names(cls, disallow_set: t.Set[str]) -> OperatorSupportBase:
Dsplitter_base.py16 OperatorSupportBase,
109 operator_support: OperatorSupportBase, argument
317 operator_support: OperatorSupportBase, argument
/external/executorch/exir/backend/canonical_partitioners/
Dpattern_op_partitioner.py12 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
19 op_support: Optional[OperatorSupportBase] = None, argument
21 final_op_support: Optional[OperatorSupportBase] = op_support
29 class MatchTag(OperatorSupportBase):
63 op_support: Optional[OperatorSupportBase] = None, argument
86 final_op_support: Optional[OperatorSupportBase] = op_support
110 class MatchTag(OperatorSupportBase):
/external/executorch/exir/backend/test/demos/rpc/
Dexecutor_backend_partitioner.py26 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
29 class AnyOperatorSupport(OperatorSupportBase):
34 class AnyDelegateSupport(OperatorSupportBase):
/external/executorch/exir/backend/test/
Dop_partitioner_demo.py32 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
35 class AllOperatorSupport(OperatorSupportBase):
40 class AddOperatorSupport(OperatorSupportBase):
47 class MatmulOperatorSupport(OperatorSupportBase):
192 class OpsToNotDecomposeOperatorSupport(OperatorSupportBase):
Dtest_graph_partition.py19 from torch.fx.passes.operator_support import OperatorSupportBase
71 op_support: Optional[OperatorSupportBase] = None, argument
182 class TestOperatorSupport(OperatorSupportBase):
Dtest_backends_nested.py37 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
160 class CondOperatorSupport(OperatorSupportBase):
/external/executorch/backends/apple/coreml/partition/
Dcoreml_partitioner.py23 from torch.fx.passes.operator_support import OperatorSupportBase
29 class OperatorsSupportedForCoreMLBackend(OperatorSupportBase):
/external/executorch/backends/example/
Dexample_partitioner.py24 from torch.fx.passes.operator_support import OperatorSupportBase
37 class DequantQuantOperatorSupport(OperatorSupportBase):
/external/executorch/backends/mediatek/
Dpartitioner.py22 from torch.fx.passes.operator_support import OperatorSupportBase
25 class NeuropilotOperatorsSupport(OperatorSupportBase):
/external/executorch/backends/apple/mps/partition/
Dmps_partitioner.py26 from torch.fx.passes.operator_support import OperatorSupportBase
38 class MPSOperatorSupport(OperatorSupportBase):
/external/executorch/backends/qualcomm/partition/
Dqnn_partitioner.py28 from torch.fx.passes.operator_support import OperatorSupportBase
38 class QnnOperatorSupport(OperatorSupportBase):
/external/executorch/backends/arm/operator_support/
Dtosa_supported_operators.py14 from torch.fx.passes.operator_support import OperatorSupportBase
69 class TOSASupportedOperators(OperatorSupportBase):
/external/executorch/docs/source/
Dcompiler-custom-compiler-passes.md390 * `operator_support (OperatorSupportBase)`: The object used to determine if a
402 [`OperatorSupportBase`](https://github.com/pytorch/pytorch/blob/8597d37536ef11bdf6b0a539ab79af876e1…
408 returns False if any of the OperatorSupportBase return False) and
410 (which returns True if any of the OperatorSupportBase returns True).
416 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
418 class AddMulOperatorSupport(OperatorSupportBase):
452 * `op_support (OperatorSupportBase)`: A OperatorSupportBase that can be created
457 * Multiple OperatorSupportBase classes chained together with `chain()` or `any_chain()`
461 supported by the union of the given OperatorSupportBase object and the
/external/pytorch/docs/source/
Dtorch.compiler_transformations.rst393 - ``operator_support (OperatorSupportBase)``: The object used to
405 ```OperatorSupportBase`` <https://github.com/pytorch/pytorch/blob/main/torch/fx/passes/operator_sup…
409 ``OperatorSupportBase`` by using
411 returns False if any of the OperatorSupportBase return False) and
413 (which returns True if any of the OperatorSupportBase returns True).
420 from torch.fx.passes.operator_support import any_chain, OperatorSupportBase
422 class AddMulOperatorSupport(OperatorSupportBase):
/external/executorch/backends/vulkan/partitioner/
Dvulkan_partitioner.py41 from torch.fx.passes.operator_support import OperatorSupportBase
52 class VulkanSupportedOperators(OperatorSupportBase):
/external/pytorch/torch/fx/passes/infra/
Dpartitioner.py12 from torch.fx.passes.operator_support import OperatorSupportBase
62 operator_support: OperatorSupportBase, argument
/external/executorch/backends/qualcomm/utils/
Dutils.py94 from torch.fx.passes.operator_support import OperatorSupportBase
98 class _AnnotationSkipper(OperatorSupportBase):