Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Early (0.14 sec)

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

        f_ = src.release();
        return *this;
      }
    
      ~Cleanup() {
        if (!released_) f_();
      }
    
      // Releases the cleanup function instead of running it.
      // Hint: use c.release()() to run early.
      F release() {
        released_ = true;
        return std::move(f_);
      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

          });
      return m;
    }
    
    }  // namespace
    
    // If over kMinAggregateCount gradients are accumulated and the total
    // memory consumption is over kMinAggregateBytes, do an early aggregation
    // so as to release the gradient tensor to save memory.
    constexpr int kMinAggregateCount = 4;
    constexpr int kMinAggregateBytes = 128 * 1024 * 1024;
    
    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