Searched refs:python_class_name (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/external/pytorch/torch/onnx/_internal/fx/ |
H A D | _pass.py | 35 def from_python_class(cls, python_class_name: type | str) -> PackageInfo: 36 if isinstance(python_class_name, type): 37 python_class_name = python_class_name.__module__ 38 package_name = python_class_name.split(".")[0]
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/ |
H A D | jit_exception.cpp | 10 std::optional<std::string> python_class_name, in JITException() argument 13 python_class_name_(std::move(python_class_name)), in JITException()
|
H A D | interpreter.cpp | 884 std::optional<std::string> python_class_name; in runTemplate() local 886 python_class_name = jit_exception->getPythonClassName(); in runTemplate() 889 e, (bool)jit_exception, not_implemented_error, python_class_name); in runTemplate() 915 std::optional<std::string> python_class_name) { in handleError() 919 python_class_name ? *python_class_name : "RuntimeError"; in handleError() 927 throw JITException(ss.str(), python_class_name, e.what()); in handleError()
|
H A D | jit_exception.h | 14 std::optional<std::string> python_class_name = std::nullopt,
|