Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dword2vec_kernels.cc65 sentence_index_ = kSentenceSize; in SkipgramOp()
124 int sentence_index_ = 0; member in tensorflow::SkipgramOp
143 ++sentence_index_; in NextExample()
144 if (sentence_index_ >= kSentenceSize) { in NextExample()
145 sentence_index_ = 0; in NextExample()
166 label_pos_ = std::max<int32>(0, sentence_index_ - skip); in NextExample()
168 std::min<int32>(kSentenceSize, sentence_index_ + skip + 1); in NextExample()
170 if (sentence_index_ != label_pos_) { in NextExample()
175 *example = sentence_[sentence_index_]; in NextExample()