Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Donner (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
      EXPECT_FALSE(cache.Lookup(key, &value));
      // Re-insert the entry.
      cache.Insert(key, 43);
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 43);
    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)
  2. tensorflow/c/c_api_experimental.cc

      gpu_options->set_allow_growth(gpu_memory_allow_growth);
    
      (*config.mutable_device_count())["CPU"] = num_cpu_devices;
    
      // TODO(b/113217601): This is needed for EagerContext::runner_ to use a
      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      FileSystem* fs = nullptr;
      Status s = env_->GetFileSystemForFile(generic_path, &fs);
      if (fs == nullptr || !s.ok())
        GTEST_SKIP() << "No filesystem registered: " << s;
    
      // First, test some interesting corner cases concerning empty URIs
      if (GetParam().empty()) {
        EXPECT_EQ(fs->TranslateName(""), "");
        EXPECT_EQ(fs->TranslateName("/"), "/");
        EXPECT_EQ(fs->TranslateName("//"), "/");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top