Home
last modified time | relevance | path

Searched refs:EmbedTokenId (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/actions/
Dactions-suggestions.cc326 if (!EmbedTokenId(options->padding_token_id(), &embedded_padding_token_) || in ValidateAndInitialize()
327 !EmbedTokenId(options->start_token_id(), &embedded_start_token_) || in ValidateAndInitialize()
328 !EmbedTokenId(options->end_token_id(), &embedded_end_token_)) { in ValidateAndInitialize()
413 bool ActionsSuggestions::EmbedTokenId(const int32 token_id, in EmbedTokenId() function in libtextclassifier3::ActionsSuggestions
Dactions-suggestions.h126 bool EmbedTokenId(const int32 token_id, std::vector<float>* embedding) const;
Dactions-suggestions_test.cc1055 EmbedTokenId(options->padding_token_id(), &embedded_padding_token_)); in TestingMessageEmbedder()
1056 EXPECT_TRUE(EmbedTokenId(options->start_token_id(), &embedded_start_token_)); in TestingMessageEmbedder()
1057 EXPECT_TRUE(EmbedTokenId(options->end_token_id(), &embedded_end_token_)); in TestingMessageEmbedder()