/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 40 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle() 50 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 52 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 54 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 71 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestAxisTensorHandle() 82 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MinOp() 84 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MinOp() 86 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MinOp() 101 CHECK_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in GetGPUDeviceName() 106 CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); in GetGPUDeviceName() [all …]
|
D | c_api.cc | 251 return (TF_GetCode(status) == TF_OK) in TFE_TensorHandleCopyToDevice() 692 if (TF_GetCode(status) != TF_OK) return nullptr; in BuildXlaLaunch() 695 if (TF_GetCode(status) != TF_OK) return nullptr; in BuildXlaLaunch()
|
/external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
D | segment_test.cc | 55 bool ret = TF_GetCode(s) == TF_OK; in GetGraphDef() 56 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetGraphDef() 75 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in PlaceholderHelper() 94 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in AddHelper() 138 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() 142 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() 144 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() 146 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() 148 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() 151 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 70 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 76 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 78 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 102 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 110 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 194 ASSERT_EQ(TF_OK, code) << status_msg; in TEST() 218 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestEncodeDecode() 253 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 266 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 301 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 | c_api_function_test.cc | 91 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in RunT() 97 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in RunT() 116 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 121 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 193 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in DefineT() 196 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in DefineT() 222 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in UseHelper() 375 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Reincarnate() 850 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 883 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() [all …]
|
D | c_test_util.cc | 89 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in PlaceholderHelper() 103 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in ConstHelper() 106 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in ConstHelper() 137 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in AddOpHelper() 178 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in BinaryOpHelper() 210 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in NegHelper() 253 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in Split3Helper() 344 bool ret = TF_GetCode(s) == TF_OK; in GetGraphDef() 345 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetGraphDef() 356 bool ret = TF_GetCode(s) == TF_OK; in GetNodeDef() [all …]
|
D | tf_status_helper.cc | 27 assert(TF_GetCode(tf_status) == TF_OK); in Set_TF_Status_from_Status()
|
D | c_api.h | 134 TF_OK = 0, enumerator
|
/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/python/eager/ |
D | pywrap_tensor.cc | 77 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 79 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 81 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast() 87 if (TF_GetCode(out_status) != TF_OK || num_outputs != 1 || in EagerCast() 123 if (TF_GetCode(status.get()) != TF_OK) { in CopyToDevice() 276 if (TF_GetCode(out_status.get()) != TF_OK) { in EagerTensor_init() 424 if (TF_GetCode(status.get()) != TF_OK) { in EagerTensor_numpy() 706 if (TF_GetCode(status.get()) != TF_OK) { in TFE_Py_TensorShapeSlice()
|
D | pywrap_tfe_src.cc | 228 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrList() 252 if (TF_GetCode(status) != TF_OK) return nullptr; in GetFunc() 255 if (TF_GetCode(status) != TF_OK) return nullptr; in GetFunc() 409 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrScalar() 436 if (TF_GetCode(status) != TF_OK) return false; in SetOpAttrScalar() 487 if (TF_GetCode(status) != TF_OK) return; in SetOpAttrScalarDefault() 531 if (TF_GetCode(out_status) != TF_OK) return; in SetOpAttrs() 552 if (TF_GetCode(status) != TF_OK) return; in SetOpAttrWithDefaults() 588 if (TF_GetCode(out_status) != TF_OK) return; in TFE_Py_Execute() 590 if (TF_GetCode(out_status) == TF_OK) { in TFE_Py_Execute() [all …]
|
/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() 424 if (TF_GetCode(status) != TF_OK) return; in fillNonScalarTF_STRINGTensorData()
|
D | exception_jni.cc | 50 case TF_OK: in exceptionClassName()
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
D | gru_ops_test.cc | 33 ASSERT_EQ(TF_OK, code) << status_msg; in SetUpTestCase()
|
D | lstm_ops_test.cc | 35 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/core/profiler/internal/ |
D | tfprof_tensor_test.cc | 48 CHECK(TF_GetCode(status) == TF_OK); in TFProfTensorTest()
|
D | tfprof_show_test.cc | 70 CHECK(TF_GetCode(status) == TF_OK); in TFProfShowTest()
|
D | tfprof_stats_test.cc | 64 CHECK(TF_GetCode(status) == TF_OK); in TFProfStatsTest()
|
D | tfprof_show.cc | 61 if (TF_GetCode(status) != TF_OK) { in LookUpCheckPoint()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session_helper.cc | 115 if (TF_GetCode(out_status) != TF_OK) { in TF_Run_wrapper_helper() 336 if (TF_GetCode(out_status) != TF_OK) { in TF_GraphGetTensorShapeHelper()
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader.i | 111 if (TF_GetCode(out_status) == TF_OK) { in CheckpointReader_GetTensor()
|
/external/tensorflow/tensorflow/core/profiler/ |
D | profiler.cc | 192 if (TF_GetCode(status) != TF_OK) { in Run()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 242 if (TF_GetCode(status.get()) != TF_OK) { in CopyTF_TensorStringsToPyArray()
|