Home
last modified time | relevance | path

Searched defs:ScriptFunction (Results 1 – 9 of 9) sorted by relevance

/external/pytorch/torch/onnx/_internal/exporter/
D_capture_strategies.py81 model: torch.nn.Module | torch.jit.ScriptFunction,
107 def _enter(self, model: torch.nn.Module | torch.jit.ScriptFunction) -> None:
110 def _success(self, model: torch.nn.Module | torch.jit.ScriptFunction) -> None:
114 self, model: torch.nn.Module | torch.jit.ScriptFunction, e: Exception
D_compat.py116 | torch.export.ExportedProgram
D_core.py934 | torch.export.ExportedProgram
/external/pytorch/torch/jit/
D_decompositions.py68 registry: Optional[Dict[str, torch.jit.ScriptFunction]] = None,
D_script.py60 ScriptFunction = torch._C.ScriptFunction variable
/external/pytorch/torch/onnx/
D__init__.py139 | torch.export.ExportedProgram
Dutils.py110 def disable_apex_o2_state_dict_hook(model: torch.nn.Module | torch.jit.ScriptFunction):
176 model: torch.nn.Module | torch.jit.ScriptModule | torch.jit.ScriptFunction,
961 model: torch.nn.Module | torch.jit.ScriptFunction, args: Sequence[Any]
/external/pytorch/torch/_export/
Dconverter.py73 model: Union[torch.nn.Module, torch.jit.ScriptFunction], args: Sequence[Any]
1382 ts_model: Union[torch.jit.ScriptModule, torch.jit.ScriptFunction],
/external/pytorch/test/onnx/
Dtest_pytorch_onnx_no_runtime.py30 model: Union[torch.nn.Module, torch.jit.ScriptFunction],