- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for Updated (0.3 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
tf_gcs_filesystem::ExpiringLRUCache<int> cache( 1, 0, [&env]() { return env->NowSeconds(); }); env->SetNowSeconds(1); // Verify that replacement of an existing element works, and updates the // timestamp of the entry. cache.Insert(key, 41); env->SetNowSeconds(2); cache.Insert(key, 42); // 1 second after the most recent insertion, the entry is still valid. env->SetNowSeconds(3);
C++ - Registered: Tue Apr 30 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
// LRU element was at offset 0. Cache miss. calls.push_back(0); TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out)); // Element at 2 * block_size is still in cache, and this read should update // its position in the LRU list so it doesn't get evicted by the next read. TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out)); // Element at block_size was evicted. Reading this element will also cause
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/filesystem/modular_filesystem_test.cc
const std::string dirpath = GetURIForPath("dir"); Status status = env_->CreateDir(dirpath); if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; // If updating, make sure to update expected_children below. const std::vector<std::string> filenames = { GetURIForPath("dir/a_file"), GetURIForPath("dir/another_file"), }; for (const auto& filename : filenames) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); NodeDef node_def_neg; ASSERT_TRUE(GetNodeDef(neg, &node_def_neg)); EXPECT_EQ(string("add"), node_def_neg.input(0)); // update edge of neg TF_UpdateEdge(graph, TF_Output{one, 0}, TF_Input{neg, 0}, s); ASSERT_TRUE(GetNodeDef(neg, &node_def_neg)); EXPECT_EQ(string("one:0"), node_def_neg.input(0)); // Clean up
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// Validate and register all filesystems // Try to register as many filesystems as possible. // Free memory once we no longer need it Status status; for (int i = 0; i < info->num_schemes; i++) { status.Update(ValidateAndRegisterFilesystems(info, i)); info->plugin_memory_free(info->ops[i].scheme); info->plugin_memory_free(info->ops[i].filesystem_ops); info->plugin_memory_free(info->ops[i].random_access_file_ops);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return; } else if (context->GetContextId() == tensorflow::EagerContext::kInvalidContextId) { status->status = tensorflow::errors::InvalidArgument( "Trying to update a context with invalid context id."); } status->status = tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef( server_def, /*reset_context=*/false, keep_alive_secs,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)