Searched refs:cppstatus (Results 1 – 1 of 1) sorted by relevance
61 auto cppstatus = tensorflow::NdarrayToTensor(obj, &t); in NumpyToTensorHandle() local62 if (cppstatus.ok()) { in NumpyToTensorHandle()68 cppstatus.error_message(), ").") in NumpyToTensorHandle()266 auto cppstatus = tensorflow::PySeqToTensor(value, dtype, &t); in ConvertToEagerTensor() local267 if (!cppstatus.ok()) { in ConvertToEagerTensor()268 PyErr_SetString(PyExc_ValueError, cppstatus.error_message().c_str()); in ConvertToEagerTensor()657 auto cppstatus = tensorflow::TensorToNdarray(*t, &ret); in EagerTensor_numpy() local658 if (MaybeRaiseExceptionFromStatus(cppstatus, PyExc_RuntimeError)) { in EagerTensor_numpy()