Home
last modified time | relevance | path

Searched refs:OperatorBase (Results 1 – 12 of 12) sorted by relevance

/external/pytorch/torch/onnx/_internal/exporter/
D_decomp.py18 ) -> list[torch._ops.OperatorBase]:
28 registered_ops: list[torch._ops.OperatorBase] = []
71 onnx_registered_ops: set[torch._ops.OperatorBase], argument
72 ) -> dict[torch._ops.OperatorBase, Callable]:
86 decomposition_table: dict[torch._ops.OperatorBase, Callable] = {}
/external/pytorch/torch/onnx/_internal/fx/
Ddecomposition_table.py16 ) -> set[torch._ops.OperatorBase | Callable]:
26 table: set[torch._ops.OperatorBase | Callable] = set()
75 ) -> dict[torch._ops.OperatorBase, Callable]:
89 decomposition_table: dict[torch._ops.OperatorBase, Callable] = {}
/external/pytorch/torch/_decomp/
D__init__.py31 str, Dict[torch._ops.OperatorBase, Callable]
46 overloads: List[Union[torch._ops.OperatorBase]] = []
198 aten_ops: Sequence[Union[torch._ops.OperatorBase, OpOverloadPacket]], argument
200 ) -> Dict[torch._ops.OperatorBase, Callable]:
219 decompositions: Dict[torch._ops.OperatorBase, Callable] = {}
224 elif isinstance(op, (torch._ops.OperatorBase)) and op in registry:
230 decompositions: Dict[torch._ops.OperatorBase, Callable], argument
258 def core_aten_decompositions() -> Dict[torch._ops.OperatorBase, Callable]:
Ddecompositions_for_jvp.py13 decomposition_table_for_jvp: Dict[torch._ops.OperatorBase, Callable] = {}
/external/pytorch/torch/_higher_order_ops/
Dutils.py10 from torch._ops import OperatorBase
21 operator: OperatorBase, delayed_error: bool, *args: Any, **kwargs: Any argument
62 def autograd_not_implemented(op: OperatorBase, deferred_error: bool) -> Callable: argument
Dauto_functionalize.py11 from torch._ops import HigherOrderOperator, OperatorBase, OpOverload
254 def can_auto_functionalize(op: OperatorBase) -> bool: argument
/external/executorch/backends/transforms/
Dfuse_dequant_linear.py56 self, node: torch.fx.Node, target: torch._ops.OperatorBase argument
Dview_copy_to_squeeze_unsqueeze.py32 self, node: torch.fx.Node, target: torch._ops.OperatorBase argument
/external/pytorch/torch/
D_ops.py40 class OperatorBase: class
177 def resolve_key(op: OperatorBase, k: DispatchKey): # type: ignore[valid-type] argument
242 class HigherOrderOperator(OperatorBase, abc.ABC):
649 class OpOverload(OperatorBase):
/external/pytorch/torch/export/
Dexported_program.py294 decomp_table: Dict[torch._ops.OperatorBase, Callable], argument
613 decomp_table: Dict[torch._ops.OperatorBase, Callable], argument
987 decomp_table: Optional[Dict[torch._ops.OperatorBase, Callable]] = None, argument
/external/executorch/backends/qualcomm/utils/
Dutils.py282 def get_decomp_table() -> Dict[torch._ops.OperatorBase, Callable]:
/external/pytorch/torch/_inductor/
Ddecomposition.py115 ops: List[Union[torch._ops.OperatorBase, torch._ops.OpOverloadPacket]] argument