Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for insertions (0.18 sec)

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

      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);
      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.
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // Now iterate through the blocks, reading them one at a time.
      for (size_t pos = start; pos < finish; pos += block_size_) {
        Key key = std::make_pair(filename, pos);
        // Look up the block, fetching and inserting it if necessary, and update the
        // LRU iterator for the key and block.
        std::shared_ptr<Block> block = Lookup(key);
        if (!block) {
          std::cerr << "No block for key " << key.first << "@" << key.second;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tape.h

      tensors.reserve(output_tensors.size());
      for (const TapeTensor& o : output_tensors) {
        // Note: the tensor can have already been watched and hence be in the tape,
        // so we cannot check that we're inserting it here.
        tensor_tape_[o.GetID()] = op_id;
        tensor_usage_[o.GetID()] = 1;
        tensors.push_back(o);
      }
      op_tape_[op_id] = OpTapeEntry<BackwardFunction, TapeTensor>{
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. RELEASE.md

        usages.
    *   Removed `id` from `tf.Tensor.__repr__()` as `id` is not useful other than
        internal debugging.
    *   Some `tf.assert_*` methods now raise assertions at operation creation time
        if the input tensors' values are known at that time, not during the
        `session.run()`. This only changes behavior when the graph execution would
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top