Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dmodel-executor.cc48 const Model_::EmbeddingPruningMask* embedding_pruning_mask) { in FromBuffer() argument
86 embedding_pruning_mask)); in FromBuffer()
94 const Model_::EmbeddingPruningMask* embedding_pruning_mask) in TFLiteEmbeddingExecutor() argument
103 if ((embedding_pruning_mask != nullptr) && in TFLiteEmbeddingExecutor()
104 (embedding_pruning_mask->enabled())) { in TFLiteEmbeddingExecutor()
105 for (int i = 0; i < embedding_pruning_mask->pruning_mask()->size(); i++) { in TFLiteEmbeddingExecutor()
106 pruning_mask_.push_back((*(embedding_pruning_mask->pruning_mask()))[i]); in TFLiteEmbeddingExecutor()
109 full_num_buckets_ = embedding_pruning_mask->full_num_buckets(); in TFLiteEmbeddingExecutor()
110 pruned_row_bucket_id_ = embedding_pruning_mask->pruned_row_bucket_id(); in TFLiteEmbeddingExecutor()
Dmodel-executor.h82 const Model_::EmbeddingPruningMask* embedding_pruning_mask = nullptr);
102 const Model_::EmbeddingPruningMask* embedding_pruning_mask = nullptr);
Dmodel.fbs453 embedding_pruning_mask:Model_.EmbeddingPruningMask;
Dannotator.cc356 model_->embedding_pruning_mask()); in ValidateAndInitialize()