/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 43 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 55 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 67 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 77 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 86 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 98 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 101 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 107 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 153 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 157 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() [all …]
|
D | c_api_test_util.cc | 30 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 42 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 54 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 68 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle() 82 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle() 96 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle3X2() 110 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle3X2() 120 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 122 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 124 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() [all …]
|
D | c_api_experimental_test.cc | 47 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 60 ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); in ExecuteWithProfiling() 66 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 70 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 75 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 92 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 111 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST()
|
D | c_api_debug.cc | 35 if (TF_GetCode(status) != TF_OK) { in TensorShapeAsVector() 41 if (TF_GetCode(status) != TF_OK) { in TensorShapeAsVector() 56 if (TF_GetCode(status) != TF_OK) { in TFE_TensorHandleTensorDebugInfo() 142 if (TF_GetCode(status) != TF_OK) { in TFE_TensorHandleTensorDebugInfo()
|
D | c_api_debug_test.cc | 27 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 40 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
|
/external/tensorflow/tensorflow/c/ |
D | c_api_experimental_test.cc | 35 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TestFakeIteratorStack() 38 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TestFakeIteratorStack() 45 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TestFakeIteratorStack() 61 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TestFakeIteratorStack() 78 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 81 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 91 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 119 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 145 EXPECT_EQ(TF_GetCode(status), TF_OK); in TEST() 158 EXPECT_NE(TF_GetCode(status), TF_OK); in TEST() [all …]
|
D | c_api_test.cc | 73 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 79 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 81 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 105 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 113 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 200 ASSERT_EQ(TF_OK, code) << status_msg; in TEST() 239 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestEncodeDecode() 274 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 287 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 322 EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK)); in TEST() [all …]
|
D | while_loop_test.cc | 43 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Init() 51 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Init() 63 EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in ExpectOK() 93 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 111 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in CreateCondGraph() 118 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in GraphDebugString() 161 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 166 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 168 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 170 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() [all …]
|
D | env.cc | 29 TF_SetStatus(status, TF_OK, ""); in TF_CreateDir() 35 TF_SetStatus(status, TF_OK, ""); in TF_DeleteDir() 44 TF_SetStatus(status, TF_OK, ""); in TF_DeleteRecursively() 54 TF_SetStatus(status, TF_OK, ""); in TF_FileStat() 68 TF_SetStatus(status, TF_OK, ""); in TF_NewWritableFile() 80 TF_SetStatus(status, TF_OK, ""); in TF_CloseWritableFile() 87 TF_SetStatus(status, TF_OK, ""); in TF_SyncWritableFile() 93 TF_SetStatus(status, TF_OK, ""); in TF_FlushWritableFile() 100 TF_SetStatus(status, TF_OK, ""); in TF_AppendWritableFile() 106 TF_SetStatus(status, TF_OK, ""); in TF_DeleteFile() [all …]
|
D | c_api_function_test.cc | 93 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in RunT() 99 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in RunT() 118 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 123 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 195 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in DefineT() 199 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in DefineT() 225 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in UseHelper() 378 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Reincarnate() 853 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 886 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() [all …]
|
D | c_test_util.cc | 117 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in PlaceholderHelper() 132 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in ConstHelper() 135 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in ConstHelper() 178 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in AddOpHelper() 219 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in BinaryOpHelper() 258 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in NegHelper() 301 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in Split3Helper() 392 bool ret = TF_GetCode(s) == TF_OK; in GetGraphDef() 393 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetGraphDef() 404 bool ret = TF_GetCode(s) == TF_OK; in GetNodeDef() [all …]
|
D | kernels_test.cc | 44 EXPECT_EQ(TF_OK, TF_GetCode(status)); in MyCreateFunc() 105 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 107 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 164 EXPECT_EQ(TF_OK, TF_GetCode(s)) << "Failed to get input: " << TF_Message(s); in TEST() 173 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 192 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST()
|
D | c_api.cc | 124 if (code == TF_OK) { in TF_SetStatus() 299 TF_SetStatus(status, TF_OK, ""); in TF_TensorBitcastFrom() 371 if (TF_GetCode(status) != TF_OK) return 0; in TF_StringDecode() 426 if (TF_GetCode(status) == TF_OK) { in TF_NewDeprecatedSession() 564 TF_SetStatus(status, TF_OK, ""); in TF_TensorFromTensor() 618 if (TF_GetCode(status) != TF_OK) { in TF_TensorFromTensor() 778 if (TF_GetCode(status) != TF_OK) { in ExtendSessionGraphHelper() 798 if (TF_GetCode(status) != TF_OK) { in ExtendSessionGraphHelper() 828 if (TF_GetCode(status) != TF_OK) return false; in TF_Run_Inputs() 866 if (TF_GetCode(status) != TF_OK) return; in TF_Run_Helper() [all …]
|
D | kernels.cc | 120 TF_SetStatus(status, TF_OK, ""); in TF_RegisterKernelBuilder() 142 if (TF_GetCode(status) == TF_OK) { in TF_GetInput() 156 TF_SetStatus(status, TF_OK, ""); in TF_SetOutput() 180 TF_SetStatus(status, TF_OK, ""); \
|
D | c_test.c | 75 if (TF_GetCode(status) != TF_OK) { in main() 82 if (TF_GetCode(status) != TF_OK) { in main()
|
D | python_api.cc | 92 if (TF_GetCode(status) == TF_OK) { in UpdateEdge() 166 if (TF_GetCode(status) != TF_OK) return; in SetHandleShapeAndType() 177 if (TF_GetCode(status) == TF_OK) { in AddWhileInputHack()
|
D | env_test.cc | 24 #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x)) 75 ASSERT_NE(TF_OK, TF_GetCode(s)) in TEST()
|
/external/tensorflow/tensorflow/c/kernels/ |
D | bitcast_op.cc | 56 if (TF_GetCode(s) == TF_OK) { in BitcastOp_Create() 61 if (TF_GetCode(s) == TF_OK) { in BitcastOp_Create() 75 if (TF_GetCode(s) != TF_OK) { in BitcastOp_Create() 96 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 108 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 124 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 131 if (TF_GetCode(status) != TF_OK) { in BitcastOp_Compute() 146 CHECK_EQ(TF_OK, TF_GetCode(status)) in RegisterBitcastOp() 156 CHECK_EQ(TF_OK, TF_GetCode(status)) in RegisterBitcastOp()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 98 if (TF_GetCode(status.get()) != TF_OK) { in CopyToDevice() 188 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 190 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 192 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 199 if (TF_GetCode(out_status) != TF_OK || num_outputs != 1 || in EagerCast() 428 if (TF_GetCode(self->status) != TF_OK) { in EagerTensor_init() 441 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_init() 542 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_shape_tuple() 553 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_shape_tuple() 568 TF_SetStatus(self->status, TF_OK, ""); in EagerTensor_rank() [all …]
|
D | pywrap_tfe_src.cc | 372 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrList() 403 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrList() 406 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrList() 422 if (TF_GetCode(status) != TF_OK) return nullptr; in GetFunc() 424 if (TF_GetCode(status) != TF_OK) return nullptr; in GetFunc() 583 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrScalar() 609 TF_SetStatus(status, TF_OK, ""); in SetOpAttrScalar() 655 if (TF_GetCode(out_status) != TF_OK) return; in SetOpAttrs() 677 if (TF_GetCode(status) != TF_OK) return; in SetOpAttrWithDefaults() 719 if (TF_GetCode(out_status) != TF_OK) return; in TFE_Py_Execute() [all …]
|
/external/tensorflow/tensorflow/go/genop/internal/ |
D | api_def_map.go | 71 if C.TF_GetCode(status) != C.TF_OK { 92 if C.TF_GetCode(status) != C.TF_OK { 108 if C.TF_GetCode(status) != C.TF_OK {
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | tensor_jni.cc | 228 if (TF_GetCode(status) != TF_OK) { in TF_StringDecodeTojbyteArray() 247 if (TF_GetCode(status) != TF_OK) return; in Add() 279 if (TF_GetCode(status) != TF_OK) return nullptr; in Next() 312 if (TF_GetCode(status) != TF_OK) return; in readNDStringArray() 321 if (TF_GetCode(status) != TF_OK) return; in readNDStringArray() 431 if (TF_GetCode(status) != TF_OK) return; in fillNonScalarTF_STRINGTensorData()
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
D | gru_ops_test.cc | 33 ASSERT_EQ(TF_OK, code) << status_msg; in SetUpTestCase()
|
/external/tensorflow/tensorflow/go/ |
D | status.go | 52 if s == nil || s.Code() == C.TF_OK {
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_exception_registry.cc | 44 DCHECK_NE(code, TF_OK); in Lookup()
|