- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for EXPECT_TRUE (0.21 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
EXPECT_TRUE(TFE_CancellationManagerDeregisterCallback(c_mgr, token1)); EXPECT_TRUE(TFE_CancellationManagerTryDeregisterCallback(c_mgr, token3)); TFE_CancellationManagerStartCancel(c_mgr); EXPECT_TRUE(TFE_CancellationManagerIsCancelled(c_mgr)); EXPECT_TRUE(callback2_invoked); TFE_DeleteCancellationManager(c_mgr); } TEST(CAPI, ExecutorContextDestructionOrder) { TF_Status* status = TF_NewStatus();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
tf_gcs_filesystem::RamFileBlockCache cache(16, 32, 0, fetcher); std::vector<char> out; // First read. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1); // Second read. Hit cache. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
const string malformed_text_proto(R"(cluster { job { name: "worker")"); TF_Buffer* null_result = TFE_GetServerDef(malformed_text_proto.c_str(), status); EXPECT_NE(TF_GetCode(status), TF_OK); EXPECT_TRUE(absl::StrContains(TF_Message(status), "Invalid text proto for ServerDef")); EXPECT_EQ(null_result, nullptr); // Cleanup TF_DeleteBuffer(result); TF_DeleteStatus(status); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1)