- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for EXPECT_FALSE (0.21 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_EQ(value, 3); EXPECT_TRUE(cache.Lookup("d", &value)); EXPECT_EQ(value, 4); cache.Clear(); EXPECT_FALSE(cache.Lookup("a", &value)); EXPECT_FALSE(cache.Lookup("b", &value)); EXPECT_FALSE(cache.Lookup("c", &value)); EXPECT_FALSE(cache.Lookup("d", &value)); } TEST(ExpiringLRUCacheTest, Delete) { // Insert an entry. tf_gcs_filesystem::ExpiringLRUCache<int> cache(1, 4);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
tf_gcs_filesystem::RamFileBlockCache cache3(0, 32, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache4(16, 32, 0, fetcher); EXPECT_FALSE(cache1.IsCacheEnabled()); EXPECT_FALSE(cache2.IsCacheEnabled()); EXPECT_FALSE(cache3.IsCacheEnabled()); EXPECT_TRUE(cache4.IsCacheEnabled()); } TEST(RamFileBlockCacheTest, ValidateAndUpdateFileSignature) { int calls = 0;
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/experimental/grappler/grappler_test.cc
tensorflow::OpInfo::TensorProperties in_props; Status s = tensorflow::BufferToMessage(in_props_buf[0], &in_props); TF_ASSERT_OK(s); EXPECT_EQ(DT_FLOAT, in_props.dtype()); EXPECT_FALSE(in_props.shape().unknown_rank()); EXPECT_EQ(2, in_props.shape().dim_size()); EXPECT_EQ(10, in_props.shape().dim(0).size()); EXPECT_EQ(1, in_props.shape().dim(1).size());
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
if (oper == feed) { EXPECT_FALSE(found_placeholder); found_placeholder = true; } else if (oper == three) { EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (oper == add) { EXPECT_FALSE(found_add); found_add = true; } else if (oper == neg) { EXPECT_FALSE(found_neg); found_neg = true; } else {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/custom_device_test.cc
status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); num_retvals = 1; executed = false; TFE_Execute(matmul.get(), &retval, &num_retvals, status.get()); EXPECT_FALSE(executed); ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK); // Custom devices can refuse to do type-based dispatch (as hcustom1 is // configured to do)
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = env_->NewWritableFile(filenames[1], &file); if (!status.ok()) GTEST_SKIP() << "NewWritableFile() not supported: " << status; std::vector<Status> statuses; EXPECT_FALSE(env_->FilesExist(filenames, &statuses)); EXPECT_EQ(statuses.size(), filenames.size()); EXPECT_PRED2(UnimplementedOrReturnsCode, statuses[0], Code::OK); EXPECT_PRED2(UnimplementedOrReturnsCode, statuses[1], Code::OK);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_MonitoringDeleteBuckets(buckets); TF_DeleteStatus(status); } TEST(CAPI, CancellationManager) { TFE_CancellationManager* c_mgr = TFE_NewCancellationManager(); EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr)); TFE_CancelCallback callback1; callback1.callback = [](void* context) { ADD_FAILURE() << "Callback1 should be deregistered."; };
C++ - Registered: Tue Apr 23 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/gcs_filesystem_test.cc
WriteString(path, "test"); ASSERT_TF_OK(status_); TF_FileStatistics stat; tf_gcs_filesystem::Stat(filesystem_, path.c_str(), &stat, status_); EXPECT_TF_OK(status_); EXPECT_EQ(4, stat.length); EXPECT_FALSE(stat.is_directory); } TEST_F(GCSFilesystemTest, RenameFile) { tf_gcs_filesystem::Init(filesystem_, status_); ASSERT_TF_OK(status_); const std::string src = GetURIForPath("RenameFileSrc");
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
OpDef op_def; op_def.ParseFromString(data); EXPECT_EQ(op_def.name(), func_name_); EXPECT_EQ(op_def.input_arg_size(), 1); EXPECT_EQ(op_def.output_arg_size(), 1); EXPECT_FALSE(op_def.is_stateful()); TF_DeleteBuffer(buffer); } void DefineStatefulFunction(const char* name, TF_Function** func) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); CHECK(tensorflow::unwrap(concatOp)->OpDef()); TFE_OpAddInput(concatOp, inputs[0], status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef()) << "Inference context is still present"; TFE_OpAddInput(concatOp, inputs[1], status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)