Home
last modified time | relevance | path

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

/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dbert_tokenizer.cc29 index_map_[vocab_[i]] = i;
35 *value = index_map_.contains(key); in Contains()
41 auto it = index_map_.find(key); in LookupId()
42 if (it == index_map_.end()) { in LookupId()
Dbert_tokenizer.h85 absl::flat_hash_map<absl::string_view, int> index_map_; variable
/external/libtextclassifier/native/utils/
Dbert_tokenizer.cc33 index_map_[vocab_[i]] = i;
39 *value = index_map_.contains(key); in Contains()
45 auto it = index_map_.find(key); in LookupId()
46 if (it == index_map_.end()) { in LookupId()
Dbert_tokenizer.h80 absl::flat_hash_map<absl::string_view, int> index_map_; variable