/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 44 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 56 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 68 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 78 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 83 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 90 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 103 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity() 113 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity() 118 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity() 125 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute_Identity() [all …]
|
D | c_api_experimental_test.cc | 48 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() 64 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 68 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 74 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 79 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 99 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ExecuteWithProfiling() 128 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 159 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 166 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() [all …]
|
D | c_api_remote_test.cc | 70 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 74 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 82 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 85 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 89 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 94 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 97 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 117 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 155 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecuteSilentCopies() 159 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecuteSilentCopies() [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() 100 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle100x100() 114 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle3X2() 128 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle3X2() 138 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() 140 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in MatMulOp() [all …]
|
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 | 74 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 80 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 82 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 106 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 114 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 201 ASSERT_EQ(TF_OK, code) << status_msg; in TEST() 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() 364 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() [all …]
|
D | c_api_experimental_test.cc | 53 EXPECT_EQ(TF_GetCode(status), TF_OK); in TEST() 66 EXPECT_NE(TF_GetCode(status), TF_OK); in TEST() 80 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST() 83 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST() 91 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 105 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 108 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 131 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 133 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 141 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); 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 | ops_test.cc | 41 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 64 ASSERT_EQ(TF_OK, TF_GetCode(status)); in identity_shape_fn() 78 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 97 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 109 ASSERT_EQ(TF_OK, TF_GetCode(status)); in vectorize_shape_fn() 127 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 147 ASSERT_EQ(TF_OK, TF_GetCode(status)); in TEST() 209 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 214 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 218 ASSERT_NE(TF_OK, TF_GetCode(status)); in TEST() [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 | kernels_test.cc | 68 EXPECT_EQ(TF_OK, TF_GetCode(status)); in MyCreateFunc() 129 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 131 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 188 EXPECT_EQ(TF_OK, TF_GetCode(s)) << "Failed to get input: " << TF_Message(s); in TEST() 197 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 216 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 269 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 271 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 274 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() 315 EXPECT_EQ(TF_OK, TF_GetCode(status)); in TEST() [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.cc | 81 TF_SetStatus(status, TF_OK, ""); in AddTypeConstraint() 163 TF_SetStatus(status, TF_OK, ""); in TF_RegisterKernelBuilder() 186 if (TF_GetCode(status) == TF_OK) { in TF_GetInput() 200 TF_SetStatus(status, TF_OK, ""); in TF_SetOutput() 224 TF_SetStatus(status, TF_OK, ""); \ 249 TF_SetStatus(status, TF_OK, ""); in TF_AllocateOutput() 257 if (TF_GetCode(status) != TF_OK) { in TF_AllocateOutput()
|
D | ops.cc | 78 TF_SetStatus(status, TF_OK, ""); in TF_RegisterOpDefinition() 138 TF_SetStatus(status, TF_OK, ""); in TF_ShapeInferenceContextGetInput() 143 if (TF_GetCode(status) == TF_OK) { in TF_ShapeInferenceContextGetInput() 158 TF_SetStatus(status, TF_OK, ""); in TF_ShapeInferenceContextSetOutput() 163 if (TF_GetCode(status) == TF_OK) { in TF_ShapeInferenceContextSetOutput() 188 TF_SetStatus(status, TF_OK, ""); \ 254 TF_SetStatus(status, TF_OK, ""); in TF_ShapeInferenceContextSubshape()
|
D | c_test.c | 71 if (TF_GetCode(status) != TF_OK) { in main() 78 if (TF_GetCode(status) != TF_OK) { in main()
|
D | python_api.cc | 91 if (TF_GetCode(status) == TF_OK) { in UpdateEdge() 165 if (TF_GetCode(status) != TF_OK) return; in SetHandleShapeAndType() 176 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()
|
D | c_api_function.cc | 165 if (TF_GetCode(status) != TF_OK) return nullptr; in TF_GraphToFunctionWithControlOutputs() 171 if (TF_GetCode(status) != TF_OK) return nullptr; in TF_GraphToFunctionWithControlOutputs() 195 if (TF_GetCode(status) != TF_OK) return nullptr; in TF_GraphToFunctionWithControlOutputs() 212 if (TF_GetCode(status) != TF_OK) { in TF_GraphToFunctionWithControlOutputs()
|
/external/tensorflow/tensorflow/c/kernels/ops/ |
D | bitcast.cc | 27 TF_SetStatus(status, TF_OK, ""); in ComputeNewShape() 31 if (TF_GetCode(status) == TF_OK) { in ComputeNewShape() 62 if (TF_GetCode(status) == TF_OK && in bitcast_shape_inference_fn() 73 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 77 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 84 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 96 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 100 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 126 CHECK_EQ(TF_GetCode(status), TF_OK) in RegisterBitcastOp()
|
/external/tensorflow/tensorflow/c/kernels/ |
D | bitcast_op.cc | 58 if (TF_GetCode(s) == TF_OK) { in BitcastOp_Create() 63 if (TF_GetCode(s) == TF_OK) { in BitcastOp_Create() 77 if (TF_GetCode(s) != TF_OK) { in BitcastOp_Create() 98 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 110 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 126 if (TF_GetCode(status) == TF_OK) { in BitcastOp_Compute() 133 if (TF_GetCode(status) != TF_OK) { in BitcastOp_Compute() 147 CHECK_EQ(TF_OK, TF_GetCode(status)) in RegisterBitcastOpKernel() 157 CHECK_EQ(TF_OK, TF_GetCode(status)) in RegisterBitcastOpKernel()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
D | posix_filesystem.cc | 118 TF_SetStatus(status, TF_OK, ""); in Append() 129 TF_SetStatus(status, TF_OK, ""); in Tell() 137 TF_SetStatus(status, TF_OK, ""); in Flush() 154 TF_SetStatus(status, TF_OK, ""); in Close() 191 TF_SetStatus(status, TF_OK, ""); in Init() 214 TF_SetStatus(status, TF_OK, ""); in NewRandomAccessFile() 226 TF_SetStatus(status, TF_OK, ""); in NewWritableFile() 238 TF_SetStatus(status, TF_OK, ""); in NewAppendableFile() 264 TF_SetStatus(status, TF_OK, ""); in NewReadOnlyMemoryRegionFromFile() 278 TF_SetStatus(status, TF_OK, ""); in CreateDir() [all …]
|
/external/tensorflow/tensorflow/c/experimental/ |
D | network_test.cc | 67 TF_SetStatus(status, TF_OK, ""); in init_function() 75 TF_SetStatus(status, TF_OK, ""); in start_function() 80 TF_SetStatus(status, TF_OK, ""); in stop_function() 85 TF_SetStatus(status, TF_OK, ""); in join_function() 117 TF_SetStatus(tf_status, TF_OK, ""); in receive_from_remote_async_function()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | pybind11_status.h | 74 if (code != TF_OK) { in MaybeRaiseFromTFStatus() 82 if (code != TF_OK) { in MaybeRaiseRegisteredFromTFStatus() 93 if (code != TF_OK) { in MaybeRaiseRegisteredFromTFStatusWithGIL()
|
/external/tensorflow/tensorflow/go/genop/internal/ |
D | api_def_map.go | 72 if C.TF_GetCode(status) != C.TF_OK { 93 if C.TF_GetCode(status) != C.TF_OK { 109 if C.TF_GetCode(status) != C.TF_OK {
|