Home
last modified time | relevance | path

Searched refs:MaybeRaiseExceptionFromTFStatus (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc557 if (MaybeRaiseExceptionFromTFStatus(&self->status, nullptr)) { in EagerTensor_rank()
573 if (MaybeRaiseExceptionFromTFStatus(&self->status, nullptr)) { in EagerTensor_num_elements()
623 if (MaybeRaiseExceptionFromTFStatus(&self->status, PyExc_RuntimeError)) { in EagerTensor_copy_to_device()
639 if (MaybeRaiseExceptionFromTFStatus(&self->status, nullptr)) { in EagerTensor_numpy_internal()
652 if (MaybeRaiseExceptionFromTFStatus(&self->status, PyExc_ValueError)) { in EagerTensor_device()
668 if (MaybeRaiseExceptionFromTFStatus(&self->status, PyExc_ValueError)) { in EagerTensor_backing_device()
744 if (MaybeRaiseExceptionFromTFStatus(&self->status, PyExc_BufferError)) { in EagerTensor_getbuffer()
903 if (MaybeRaiseExceptionFromTFStatus(&as_c_eager_tensor->status, in PyEagerTensor_NumElements()
1076 if (MaybeRaiseExceptionFromTFStatus(status.get(), PyExc_ValueError)) { in TFE_Py_TensorShapeSlice()
1090 if (MaybeRaiseExceptionFromTFStatus(status.get(), PyExc_ValueError)) { in TFE_Py_TensorShapeSlice()
Dpywrap_tfe.h108 int MaybeRaiseExceptionFromTFStatus(TF_Status* status, PyObject* exception);
Dpywrap_tfe_src.cc1023 int MaybeRaiseExceptionFromTFStatus(TF_Status* status, PyObject* exception) { in MaybeRaiseExceptionFromTFStatus() function
3317 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) return false;
3320 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) return false;
3335 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) return false;
3340 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) return false;
3401 return MaybeRaiseExceptionFromTFStatus(status, nullptr);
3456 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) {
3634 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) {
3800 if (MaybeRaiseExceptionFromTFStatus(status, nullptr)) {
3871 MaybeRaiseExceptionFromTFStatus(status, nullptr);