Home
last modified time | relevance | path

Searched refs:max_staleness (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dgcs_config_ops.py35 def __init__(self, block_size=None, max_bytes=None, max_staleness=None): argument
38 self._max_staleness = max_staleness or 0
49 def max_staleness(self): member in BlockCacheParams
133 max_staleness=self._block_cache.max_staleness)
176 max_staleness=block_cache.max_staleness)
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dgcs_config_ops.cc182 size_t max_cache_size, block_size, max_staleness; in Compute() local
188 ctx, ParseScalarArgument<size_t>(ctx, "max_staleness", &max_staleness)); in Compute()
192 gcs->underlying()->max_staleness() == max_staleness) { in Compute()
197 max_staleness); in Compute()
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache.h52 RamFileBlockCache(size_t block_size, size_t max_bytes, uint64 max_staleness,
56 max_staleness_(max_staleness), in block_size_()
110 uint64 max_staleness() const override { return max_staleness_; } in max_staleness() function
Dgcs_file_system.h92 size_t max_bytes, uint64 max_staleness,
153 uint64 max_staleness() { in max_staleness() function
155 return file_block_cache_->max_staleness(); in max_staleness()
298 uint64 max_staleness);
Dfile_block_cache.h86 virtual uint64 max_staleness() const = 0;
Dgcs_file_system.cc659 uint64 max_staleness = kDefaultMaxStaleness; in GcsFileSystem() local
682 max_staleness = value; in GcsFileSystem()
690 << "max staleness = " << max_staleness; in GcsFileSystem()
691 file_block_cache_ = MakeFileBlockCache(block_size, max_bytes, max_staleness); in GcsFileSystem()
809 size_t max_bytes, uint64 max_staleness, uint64 stat_cache_max_age, in GcsFileSystem() argument
818 MakeFileBlockCache(block_size, max_bytes, max_staleness)), in GcsFileSystem()
882 size_t block_size, size_t max_bytes, uint64 max_staleness) { in MakeFileBlockCache() argument
884 block_size, max_bytes, max_staleness, in MakeFileBlockCache()
Dgcs_file_system_test.cc3160 EXPECT_EQ(0, fs1.max_staleness()); in TEST()
3179 EXPECT_EQ(60, fs3.max_staleness()); in TEST()
/external/tensorflow/tensorflow/contrib/cloud/ops/
Dgcs_config_ops.cc60 .Input("max_staleness: uint64")