Searched refs:TF_Code (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 33 TF_Code code = static_cast<TF_Code>(PyLong_AsLong(key)); in Init() 41 PyObject* PyExceptionRegistry::Lookup(TF_Code code) { in Lookup()
|
D | py_exception_registry.h | 61 static PyObject* Lookup(TF_Code code); 68 std::map<TF_Code, PyObject*> exc_types_;
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 197 TF_Code code = TF_GetCode(status); in TEST() 322 EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK)); in TEST() 323 EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED)); in TEST() 324 EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN)); in TEST() 326 static_cast<TF_Code>(tensorflow::error::INVALID_ARGUMENT)); in TEST() 328 static_cast<TF_Code>(tensorflow::error::DEADLINE_EXCEEDED)); in TEST() 329 EXPECT_EQ(TF_NOT_FOUND, static_cast<TF_Code>(tensorflow::error::NOT_FOUND)); in TEST() 331 static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS)); in TEST() 333 static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED)); in TEST() 335 static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED)); in TEST() [all …]
|
D | c_api.h | 134 typedef enum TF_Code { enum 152 } TF_Code; typedef 167 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code, 171 TF_CAPI_EXPORT extern TF_Code TF_GetCode(const TF_Status* s);
|
D | while_loop_test.cc | 66 void ExpectError(TF_Code expected_code, const string& expected_msg) { in ExpectError()
|
D | c_api.cc | 123 void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) { in TF_SetStatus() 131 TF_Code TF_GetCode(const TF_Status* s) { in TF_GetCode() 132 return static_cast<TF_Code>(s->status.code()); in TF_GetCode()
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
D | gru_ops_test.cc | 30 TF_Code code = TF_GetCode(status); in SetUpTestCase()
|
D | lstm_ops_test.cc | 32 TF_Code code = TF_GetCode(status); in SetUpTestCase()
|
/external/tensorflow/tensorflow/go/ |
D | status.go | 24 type code C.TF_Code
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | exception_jni.cc | 48 const char* exceptionClassName(TF_Code code) { in exceptionClassName()
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 245 TF_Code code = TF_GetCode($1);
|