/external/tensorflow/tensorflow/c/eager/ |
D | c_api_unified_experimental_test.cc | 58 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 61 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 65 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 69 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 74 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 80 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 84 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 95 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 112 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() 115 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST_P() [all …]
|
D | c_api_test.cc | 57 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 69 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_InitOp() 81 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() 92 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 94 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 96 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 98 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 103 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() 110 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in BM_Execute() [all …]
|
D | c_api_experimental_test.cc | 45 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 76 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 83 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 96 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 121 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 129 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 146 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 175 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 190 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST() 221 ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); in TEST() [all …]
|
D | custom_device_test.cc | 35 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 41 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 48 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 52 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 56 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 72 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 80 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 85 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 88 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 91 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() [all …]
|
D | c_api_test_util.cc | 37 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 50 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 62 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 74 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestScalarTensorHandle() 88 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in DoubleTestMatrixTensorHandle() 102 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle() 116 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandleWithInput() 129 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestTensorHandleWithDimsFloat() 142 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestTensorHandleWithDimsInt() 158 CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestMatrixTensorHandle100x100() [all …]
|
D | c_api_distributed_test.cc | 149 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 153 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 167 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestFunctionWithPackedInput() 177 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 188 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 194 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 197 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 199 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 202 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() 208 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestFunctionWithPackedInput() [all …]
|
D | c_api_cluster_test.cc | 45 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in CheckTFE_TensorHandleHasFloats() 65 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in CheckRemoteMatMulExecutesOK() 70 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in CheckRemoteMatMulExecutesOK() 74 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in CheckRemoteMatMulExecutesOK() 86 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in CheckRemoteMatMulExecutesOK() 96 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ReadVariable() 99 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ReadVariable() 102 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in ReadVariable() 126 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecuteChangeServerDef() 130 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecuteChangeServerDef() [all …]
|
D | c_api_remote_test_util.cc | 98 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 102 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 121 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 126 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 134 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 143 CHECK_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 146 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 148 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 150 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() 157 ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TestRemoteExecuteSilentCopies() [all …]
|
D | custom_device_testutil.cc | 56 if (TF_GetCode(status) != TF_OK) return nullptr; in MakeLoggedTensorHandle() 59 if (TF_GetCode(status) != TF_OK) return nullptr; in MakeLoggedTensorHandle() 73 if (TF_GetCode(status) != TF_OK) return nullptr; in CopyToLoggingDevice() 94 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 104 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 106 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 110 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 113 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 115 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() 118 if (TF_GetCode(s) != TF_OK) return; in LoggingDeviceExecute() [all …]
|
D | c_api_remote_test.cc | 60 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 64 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 72 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 75 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 79 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 84 EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 87 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute() 107 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TestRemoteExecute()
|
/external/tensorflow/tensorflow/c/eager/parallel_device/ |
D | parallel_device_testlib.cc | 39 if (TF_GetCode(status) != TF_OK) return nullptr; in Create() 52 if (TF_GetCode(status) != TF_OK) return nullptr; in Create() 56 if (TF_GetCode(status) != TF_OK) return nullptr; in Create() 64 if (TF_GetCode(status) != TF_OK) return; in Destroy() 66 if (TF_GetCode(status) != TF_OK) return; in Destroy() 68 if (TF_GetCode(status) != TF_OK) return; in Destroy() 70 if (TF_GetCode(status) != TF_OK) return; in Destroy() 73 if (TF_GetCode(status) != TF_OK) return; in Destroy() 81 if (TF_GetCode(status) != TF_OK) return nullptr; in Read() 83 if (TF_GetCode(status) != TF_OK) return nullptr; in Read() [all …]
|
D | parallel_device_test.cc | 50 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 63 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 76 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 81 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 87 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 115 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 126 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 129 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 134 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 137 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() [all …]
|
D | parallel_device_lib_test.cc | 49 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 57 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 61 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 66 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 75 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 80 ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK); in TEST() 81 TF_SetStatus(status.get(), TF_OK, ""); in TEST() 87 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 105 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() 113 ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); in TEST() [all …]
|
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/ |
D | saved_model_api_test.cc | 72 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST_P() 104 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST_P() 112 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 115 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 125 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 133 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 136 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 202 ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); in TEST_P() 210 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() 214 EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); in TEST_P() [all …]
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 76 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() 84 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 108 CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in GPUDeviceName() 116 EXPECT_EQ(TF_OK, TF_GetCode(s)); in TEST() 204 ASSERT_EQ(TF_OK, code) << status_msg; in TEST() 277 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 290 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() 325 EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK)); in TEST() 367 ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); in TEST() [all …]
|
D | while_loop_test.cc | 42 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Init() 50 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Init() 62 EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in ExpectOK() 92 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in Run() 110 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in CreateCondGraph() 117 DCHECK_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in GraphDebugString() 160 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 165 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 167 ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); in TEST_F() 169 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 | 31 TF_SetStatus(status, TF_OK, ""); in TF_CreateDir() 37 TF_SetStatus(status, TF_OK, ""); in TF_DeleteDir() 46 TF_SetStatus(status, TF_OK, ""); in TF_DeleteRecursively() 56 TF_SetStatus(status, TF_OK, ""); in TF_FileStat() 70 TF_SetStatus(status, TF_OK, ""); in TF_NewWritableFile() 82 TF_SetStatus(status, TF_OK, ""); in TF_CloseWritableFile() 89 TF_SetStatus(status, TF_OK, ""); in TF_SyncWritableFile() 95 TF_SetStatus(status, TF_OK, ""); in TF_FlushWritableFile() 102 TF_SetStatus(status, TF_OK, ""); in TF_AppendWritableFile() 108 TF_SetStatus(status, TF_OK, ""); in TF_DeleteFile() [all …]
|
D | c_api_experimental_test.cc | 54 EXPECT_EQ(TF_GetCode(status), TF_OK); in TEST() 67 EXPECT_NE(TF_GetCode(status), TF_OK); in TEST() 81 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST() 84 ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); in TEST() 93 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in ShapeInferenceTest() 128 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in CheckOutputShapes() 167 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in TEST_F() 201 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in TEST_F() 203 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in TEST_F() 206 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | gcs_filesystem.cc | 115 if (TF_GetCode(status) != TF_OK) return -1; in LoadBufferFromGCS() 119 if ((TF_GetCode(status) != TF_OK) && in LoadBufferFromGCS() 135 TF_SetStatus(status, TF_OK, ""); in LoadBufferFromGCS() 218 if (TF_GetCode(status) != TF_OK && in Read() 236 TF_SetStatus(status, TF_OK, ""); in Read() 281 TF_SetStatus(status, TF_OK, ""); in SyncImpl() 314 TF_SetStatus(status, TF_OK, ""); in SyncImpl() 339 TF_SetStatus(status, TF_OK, ""); in Append() 349 TF_SetStatus(status, TF_OK, ""); in Tell() 369 if (TF_GetCode(status) != TF_OK) return; in Flush() [all …]
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/ |
D | hadoop_filesystem.cc | 69 return TF_SetStatus(status, TF_OK, ""); in SplitArchiveNameAndPath() 108 if (TF_GetCode(status) != TF_OK) return; in LoadAndBind() 113 if (TF_GetCode(status) != TF_OK) return; \ in LoadAndBind() 161 if (TF_GetCode(status) == TF_OK) { in LoadAndBind() 206 if (TF_GetCode(status) != TF_OK) return nullptr; in Connect() 228 TF_SetStatus(status, TF_OK, ""); in Connect() 287 while (TF_GetCode(status) == TF_OK && n > 0) { in Read() 385 TF_SetStatus(status, TF_OK, ""); in Append() 395 TF_SetStatus(status, TF_OK, ""); in Tell() 404 TF_SetStatus(status, TF_OK, ""); in Flush() [all …]
|
/external/tensorflow/tensorflow/c/kernels/ops/ |
D | bitcast.cc | 38 TF_SetStatus(status, TF_OK, ""); in ComputeNewShape() 42 if (TF_GetCode(status) == TF_OK) { in ComputeNewShape() 73 if (TF_GetCode(status) == TF_OK && in bitcast_shape_inference_fn() 84 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 88 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 92 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 96 if (TF_GetCode(status) == TF_OK) { in bitcast_shape_inference_fn() 122 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/s3/ |
D | s3_filesystem.cc | 302 TF_SetStatus(status, TF_OK, ""); in ReadS3Client() 303 if (TF_GetCode(status) != TF_OK && TF_GetCode(status) != TF_OUT_OF_RANGE) in ReadS3Client() 344 TF_SetStatus(status, TF_OK, ""); in ReadS3TransferManager() 345 if (TF_GetCode(status) != TF_OK && TF_GetCode(status) != TF_OUT_OF_RANGE) in ReadS3TransferManager() 408 TF_SetStatus(status, TF_OK, ""); in Append() 418 TF_SetStatus(status, TF_OK, ""); in Tell() 430 TF_SetStatus(status, TF_OK, ""); in Sync() 457 TF_SetStatus(status, TF_OK, ""); in Sync() 468 if (TF_GetCode(status) != TF_OK) return; in Close() 471 TF_SetStatus(status, TF_OK, ""); in Close() [all …]
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
D | posix_filesystem.cc | 119 TF_SetStatus(status, TF_OK, ""); in Append() 130 TF_SetStatus(status, TF_OK, ""); in Tell() 138 TF_SetStatus(status, TF_OK, ""); in Flush() 155 TF_SetStatus(status, TF_OK, ""); in Close() 192 TF_SetStatus(status, TF_OK, ""); in Init() 215 TF_SetStatus(status, TF_OK, ""); in NewRandomAccessFile() 227 TF_SetStatus(status, TF_OK, ""); in NewWritableFile() 239 TF_SetStatus(status, TF_OK, ""); in NewAppendableFile() 265 TF_SetStatus(status, TF_OK, ""); in NewReadOnlyMemoryRegionFromFile() 279 TF_SetStatus(status, TF_OK, ""); in CreateDir() [all …]
|