Home
last modified time | relevance | path

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

/external/libtextclassifier/native/lang_id/common/
Dembedding-network.cc27 SAFTM_CHECK_EQ(static_cast<int>(QuantizationType::NONE), in CheckNoQuantization()
79 SAFTM_CHECK_EQ(weights.cols, y_size); in SparseReluProductPlusBias()
81 SAFTM_CHECK_EQ(weights.rows, x_size); in SparseReluProductPlusBias()
303 SAFTM_CHECK_EQ(model_->hidden_size(), model_->hidden_bias_size()); in EmbeddingNetwork()
308 SAFTM_CHECK_EQ(1, bias.cols); in EmbeddingNetwork()
317 SAFTM_CHECK_EQ(1, softmax_bias.cols); in EmbeddingNetwork()
/external/libtextclassifier/native/lang_id/features/
Dchar-ngram-feature.cc67 SAFTM_CHECK_EQ(counts_.size(), ngram_id_dimension_); in ComputeNgramCounts()
68 SAFTM_CHECK_EQ(non_zero_count_indices_.size(), 0); in ComputeNgramCounts()
/external/libtextclassifier/native/lang_id/common/lite_base/
Dcompact-logging.h124 #define SAFTM_CHECK_EQ(x, y) SAFTM_CHECK((x) == (y)) macro
156 #define SAFTM_DCHECK_EQ(x, y) SAFTM_CHECK_EQ(x, y)
Dlogging.h34 #define SAFTM_CHECK_EQ CHECK_EQ macro
/external/libtextclassifier/native/lang_id/common/fel/
Dfeature-extractor.h273 SAFTM_CHECK_EQ(feature_type_, nullptr); in set_feature_type()
528 SAFTM_CHECK_EQ(this->feature_type(), nullptr) in GetFeatureTypes()