Home
last modified time | relevance | path

Searched refs:pyinterpreter (Results 1 – 7 of 7) sorted by relevance

/external/pytorch/c10/core/
DSafePyObject.h24 SafePyObject(PyObject* data, c10::impl::PyInterpreter* pyinterpreter) in SafePyObject()
25 : data_(data), pyinterpreter_(pyinterpreter) {} in SafePyObject()
60 c10::impl::PyInterpreter& pyinterpreter() const { in pyinterpreter() function
82 SafePyObjectT(PyObject* data, c10::impl::PyInterpreter* pyinterpreter) in SafePyObjectT()
83 : SafePyObject(data, pyinterpreter) {} in SafePyObjectT()
89 using SafePyObject::pyinterpreter;
98 SafePyHandle(PyObject* data, c10::impl::PyInterpreter* pyinterpreter) in SafePyHandle()
99 : data_(data), pyinterpreter_(pyinterpreter) {} in SafePyHandle()
101 c10::impl::PyInterpreter& pyinterpreter() const { in pyinterpreter() function
DTensorImpl.cpp505 r = cur_torch_dispatch_mode_state->pyinterpreter()->detach(this); in shallow_copy_and_detach_core()
/external/pytorch/aten/src/ATen/
DSparseCsrTensorImpl.h121 interpreter = cur_torch_dispatch_mode_state->pyinterpreter(); in shallow_copy_and_detach_core()
DSparseTensorImpl.h320 interpreter = cur_torch_dispatch_mode_state->pyinterpreter(); in shallow_copy_and_detach_core()
/external/pytorch/aten/src/ATen/core/
DPythonFallbackKernel.cpp59 cur_torch_dispatch_mode_state->pyinterpreter()->dispatch(op, stack); in pythonFallback()
/external/pytorch/aten/src/ATen/core/dispatch/
DOperatorEntry.cpp538 …report_error_callback_->pyinterpreter()->reportErrorCallback(report_error_callback_->ptr(&report_e… in registerKernel()
/external/pytorch/torch/csrc/utils/
Dpython_dispatch.cpp137 cur_torch_dispatch_mode_state->pyinterpreter() in operator ()()