Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pop (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          lru_list_.erase(insert.first->second.lru_iterator);
          insert.first->second = entry;
        } else if (max_entries_ > 0 && cache_.size() > max_entries_) {
          cache_.erase(lru_list_.back());
          lru_list_.pop_back();
        }
      }
    
      bool DeleteLocked(const std::string& key) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        auto it = cache_.find(key);
        if (it == cache_.end()) {
          return false;
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

      // Avoid infinite recursion. Whichever forward function we run, it'll end up
      // executing ops, and we don't want to watch those with this accumulator.
      call_state_.emplace(nullptr, true);
      auto pop_call_state = gtl::MakeCleanup([this] { this->call_state_.pop(); });
    
      std::vector<Gradient*> forward_grads;
      if (forward_function == nullptr) {
        // We have no special-cased forward gradient. Fall back to running the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top