Home
last modified time | relevance | path

Searched refs:fnames_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dtensor_slice_reader.cc113 Status s = Env::Default()->GetMatchingPaths(filepattern, &fnames_); in TensorSliceReader()
121 if (fnames_.empty()) { in TensorSliceReader()
128 sss_.resize(fnames_.size()); in TensorSliceReader()
129 for (size_t shard = 0; shard < fnames_.size(); ++shard) { in TensorSliceReader()
130 fname_to_index_.insert(std::make_pair(fnames_[shard], shard)); in TensorSliceReader()
132 if (preferred_shard == kLoadAllShards || fnames_.size() == 1 || in TensorSliceReader()
133 static_cast<size_t>(preferred_shard) >= fnames_.size()) { in TensorSliceReader()
148 const string fname = fnames_[shard]; in LoadShard()
183 for (size_t i = 0; i < fnames_.size() && status_.ok(); ++i) { in LoadAllShards()
Dtensor_slice_reader.h128 std::vector<string> fnames_; variable