Home
last modified time | relevance | path

Searched refs:TF_Message (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc43 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 …]
Dc_api_test_util.cc30 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 …]
Dc_api_experimental_test.cc47 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()
Dc_api_debug_test.cc27 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/
Dc_api_test.cc73 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 …]
Dc_api_experimental_test.cc35 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 …]
Dwhile_loop_test.cc43 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 …]
Dc_api_function_test.cc93 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 …]
Denv_test.cc39 << 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()
Dc_test_util.cc117 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 …]
Dc_test.c76 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()
Dkernels_test.cc164 EXPECT_EQ(TF_OK, TF_GetCode(s)) << "Failed to get input: " << TF_Message(s); in TEST()
Dc_api.h177 TF_CAPI_EXPORT extern const char* TF_Message(const TF_Status* s);
/external/tensorflow/tensorflow/go/genop/internal/
Dapi_def_map.go72 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/
Dgru_ops_test.cc31 string status_msg(TF_Message(status)); in SetUpTestCase()
Dlstm_ops_test.cc33 string status_msg(TF_Message(status)); in SetUpTestCase()
/external/tensorflow/tensorflow/go/
Dstatus.go47 return C.GoString(C.TF_Message(s.c))
/external/tensorflow/tensorflow/java/src/main/native/
Dexception_jni.cc73 env->ThrowNew(env->FindClass(clazz), TF_Message(status)); in throwExceptionIfNotOK()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc102 ". ", 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()
Dpywrap_tfe_src.cc738 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/
Dbase.i249 PyObject* exc_args = Py_BuildValue("sss", nullptr, nullptr, TF_Message($1));
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc193 fprintf(stderr, "%s\n", TF_Message(status)); in Run()
/external/tensorflow/tensorflow/python/framework/
Derrors_impl.py547 compat.as_text(c_api.TF_Message(self.status.status)),
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show.cc62 fprintf(stderr, "%s\n", TF_Message(status)); in LookUpCheckPoint()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc250 return errors::InvalidArgument(TF_Message(status.get())); in CopyTF_TensorStringsToPyArray()

12