Home
last modified time | relevance | path

Searched refs:num_shards_ (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Dshard_dataset_op.cc60 num_shards_(num_shards), in Dataset()
83 return strings::StrCat("ShardDatasetOp(", num_shards_, ", ", index_, in DebugString()
92 return n / num_shards_ + (index_ < n % num_shards_ ? 1 : 0); in Cardinality()
102 TF_RETURN_IF_ERROR(b->AddScalar(num_shards_, &num_shards)); in AsGraphDefInternal()
139 } while ((next_index_++ % dataset()->num_shards_) != dataset()->index_); in GetNextInternal()
149 dataset()->num_shards_); in CreateNode()
184 const int64 num_shards_; member in tensorflow::data::__anon3d7918cb0111::ShardDatasetOp::Dataset
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.cc239 num_shards_(num_shards), in FixedUnigramSampler()
255 num_shards_(num_shards), in FixedUnigramSampler()
277 if (word_id % num_shards_ == shard_) weights_.push_back(0.0); in FillReservedIds()
295 if (word_id % num_shards_ == shard_) { in LoadFromFile()
315 if (word_id % num_shards_ == shard_) { in LoadFromUnigrams()
Drange_sampler.h238 int32 num_shards_; variable
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.h301 int num_shards_; variable
Dtensor_bundle.cc749 num_shards_ = header.num_shards(); in BundleReader()
830 DataFilename(prefix_, entry.shard_id(), num_shards_), &file)); in GetValue()