Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
Dtext.py220 self.word_index = dict(
225 i = self.word_index.get(self.oov_token)
227 self.word_index[self.oov_token] = len(self.word_index) + 1
231 self.index_docs[self.word_index[w]] = c
288 i = self.word_index.get(w)
295 i = self.word_index.get(self.oov_token)
329 if self.word_index:
330 num_words = len(self.word_index) + 1
/external/tensorflow/tensorflow/compiler/xla/service/
Ddfs_hlo_visitor.h315 uint64 word_index = id / kStatesPerWord; in GetState() local
316 if (word_index >= states_.size()) { in GetState()
321 uint64 w = states_[word_index]; in GetState()
326 uint64 word_index = id / kStatesPerWord; in SetState() local
327 if (word_index >= states_.size()) { in SetState()
328 states_.resize(word_index + 1, 0); in SetState()
330 uint64* w = &states_[word_index]; in SetState()