/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_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_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() 114 EXPECT_EQ(string(), TF_Message(s)); in TEST() 117 EXPECT_EQ(string("cancel"), TF_Message(s)); in TEST() 198 string status_msg(TF_Message(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 | 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() 160 TF_Message(status), "Invalid text proto for ServerDef")); 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() 69 EXPECT_EQ(expected_msg, TF_Message(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 | env_test.cc | 39 << TF_Message(s); in TEST() 46 << TF_Message(s); in TEST() 51 << filepath << ": " << TF_Message(s); in TEST() 55 << filepath << ": " << TF_Message(s); in TEST() 81 << TF_Message(s); in TEST() 86 << TF_Message(s); 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() 393 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetGraphDef() 405 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetNodeDef() 417 EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GetFunctionDef() [all …]
|
D | c_test.c | 76 fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status)); in main() 83 fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status)); in main()
|
D | kernels_test.cc | 164 EXPECT_EQ(TF_OK, TF_GetCode(s)) << "Failed to get input: " << TF_Message(s); in TEST()
|
D | c_api.h | 177 TF_CAPI_EXPORT extern const char* TF_Message(const TF_Status* s);
|
/external/tensorflow/tensorflow/go/genop/internal/ |
D | api_def_map.go | 72 return nil, errors.New(C.GoString(C.TF_Message(status))) 93 return errors.New(C.GoString(C.TF_Message(status))) 109 return nil, errors.New(C.GoString(C.TF_Message(status)))
|
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
D | gru_ops_test.cc | 31 string status_msg(TF_Message(status)); in SetUpTestCase()
|
D | lstm_ops_test.cc | 33 string status_msg(TF_Message(status)); in SetUpTestCase()
|
/external/tensorflow/tensorflow/go/ |
D | status.go | 47 return C.GoString(C.TF_Message(s.c))
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | exception_jni.cc | 73 env->ThrowNew(env->FindClass(clazz), TF_Message(status)); in throwExceptionIfNotOK()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 102 ". ", TF_Message(status.get())) in CopyToDevice() 438 ". ", TF_Message(self->status)) in EagerTensor_init() 653 PyErr_SetString(PyExc_RuntimeError, TF_Message(status.get())); in EagerTensor_numpy() 1043 TF_Message(status.get())) in TFE_Py_TensorShapeSlice() 1069 TF_Message(status.get())) in TFE_Py_TensorShapeOnDevice()
|
D | pywrap_tfe_src.cc | 738 tensorflow::strings::StrCat(TF_Message(out_status), in TFE_Py_Execute() 831 const char* msg = TF_Message(status); in MaybeRaiseExceptionFromTFStatus() 2611 << attr.name() << "\" due to: " << TF_Message(status); 2612 RaiseFallbackException(TF_Message(status)); 2777 TF_Message(status),
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 249 PyObject* exc_args = Py_BuildValue("sss", nullptr, nullptr, TF_Message($1));
|
/external/tensorflow/tensorflow/core/profiler/ |
D | profiler.cc | 193 fprintf(stderr, "%s\n", TF_Message(status)); in Run()
|
/external/tensorflow/tensorflow/python/framework/ |
D | errors_impl.py | 547 compat.as_text(c_api.TF_Message(self.status.status)),
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_show.cc | 62 fprintf(stderr, "%s\n", TF_Message(status)); in LookUpCheckPoint()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 250 return errors::InvalidArgument(TF_Message(status.get())); in CopyTF_TensorStringsToPyArray()
|