Searched refs:TF_Code (Results 1 – 8 of 8) sorted by relevance
191 TF_Code code = TF_GetCode(status); in TEST()301 EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK)); in TEST()302 EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED)); in TEST()303 EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN)); in TEST()305 static_cast<TF_Code>(tensorflow::error::INVALID_ARGUMENT)); in TEST()307 static_cast<TF_Code>(tensorflow::error::DEADLINE_EXCEEDED)); in TEST()308 EXPECT_EQ(TF_NOT_FOUND, static_cast<TF_Code>(tensorflow::error::NOT_FOUND)); in TEST()310 static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS)); in TEST()312 static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED)); in TEST()314 static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED)); in TEST()[all …]
133 typedef enum TF_Code { enum151 } TF_Code; typedef166 TF_CAPI_EXPORT extern void TF_SetStatus(TF_Status* s, TF_Code code,170 TF_CAPI_EXPORT extern TF_Code TF_GetCode(const TF_Status* s);
66 void ExpectError(TF_Code expected_code, const string& expected_msg) { in ExpectError()
111 void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) { in TF_SetStatus()119 TF_Code TF_GetCode(const TF_Status* s) { in TF_GetCode()120 return static_cast<TF_Code>(s->status.code()); in TF_GetCode()
30 TF_Code code = TF_GetCode(status); in SetUpTestCase()
32 TF_Code code = TF_GetCode(status); in SetUpTestCase()
24 type code C.TF_Code
48 const char* exceptionClassName(TF_Code code) { in exceptionClassName()