Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc61 auto cppstatus = tensorflow::NdarrayToTensor(obj, &t); in NumpyToTensorHandle() local
62 if (cppstatus.ok()) { in NumpyToTensorHandle()
68 cppstatus.error_message(), ").") in NumpyToTensorHandle()
266 auto cppstatus = tensorflow::PySeqToTensor(value, dtype, &t); in ConvertToEagerTensor() local
267 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() local
658 if (MaybeRaiseExceptionFromStatus(cppstatus, PyExc_RuntimeError)) { in EagerTensor_numpy()