Home
last modified time | relevance | path

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

/external/libtextclassifier/lang_id/common/
Dembedding-feature-extractor.h43 class GenericEmbeddingFeatureExtractor {
49 explicit GenericEmbeddingFeatureExtractor(const string &arg_prefix) in GenericEmbeddingFeatureExtractor() function
52 virtual ~GenericEmbeddingFeatureExtractor() {} in ~GenericEmbeddingFeatureExtractor()
103 class EmbeddingFeatureExtractor : public GenericEmbeddingFeatureExtractor {
110 : GenericEmbeddingFeatureExtractor(arg_prefix) {} in EmbeddingFeatureExtractor()
114 if (!GenericEmbeddingFeatureExtractor::Setup(context)) { in Setup()
128 if (!GenericEmbeddingFeatureExtractor::Init(context)) return false; in Init()
Dembedding-feature-extractor.cc36 bool GenericEmbeddingFeatureExtractor::Setup(TaskContext *context) { in Setup()
68 bool GenericEmbeddingFeatureExtractor::Init(TaskContext *context) { in Init()