/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() 57 ASSERT_EQ(TF_OUT_OF_RANGE, 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() [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() 116 EXPECT_EQ(TF_CANCELLED, TF_GetCode(s)); in TEST() 197 TF_Code code = TF_GetCode(status); 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() 280 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); 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() 68 EXPECT_EQ(expected_code, TF_GetCode(s_)); in ExpectError() 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() [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 | 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() 167 EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s)); in TEST() 169 EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s)); in TEST() 173 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 176 EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s)); in TEST() 192 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST()
|
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 | c_api.cc | 131 TF_Code TF_GetCode(const TF_Status* s) { in TF_GetCode() function 371 if (TF_GetCode(status) != TF_OK) return 0; in TF_StringDecode() 426 if (TF_GetCode(status) == TF_OK) { in TF_NewDeprecatedSession() 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() 886 if (TF_GetCode(status) != TF_OK) return; in TF_Run_Helper() 943 if (TF_GetCode(status) == TF_OK) { in TF_PRunSetup() [all …]
|
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/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 | 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() 652 if (TF_GetCode(status.get()) != TF_OK) { in EagerTensor_numpy() 1039 if (TF_GetCode(status.get()) != TF_OK) { in TFE_Py_TensorShapeSlice() 1065 if (TF_GetCode(status.get()) != TF_OK) { in TFE_Py_TensorShapeOnDevice()
|
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() 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() 721 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() 431 if (TF_GetCode(status) != TF_OK) return; in fillNonScalarTF_STRINGTensorData()
|
D | exception_jni.cc | 71 const char* clazz = exceptionClassName(TF_GetCode(status)); in throwExceptionIfNotOK()
|
/external/tensorflow/tensorflow/tools/lib_package/ |
D | libtensorflow_test.c | 23 if (TF_GetCode(s) != TF_UNKNOWN) { in main()
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
D | gru_ops_test.cc | 30 TF_Code code = TF_GetCode(status); in SetUpTestCase()
|
/external/tensorflow/tensorflow/go/ |
D | status.go | 43 return code(C.TF_GetCode(s.c))
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_tensor_test.cc | 48 CHECK(TF_GetCode(status) == TF_OK); in TFProfTensorTest()
|