Home
last modified time | relevance | path

Searched refs:ComputeSoftmax (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/utils/math/
Dsoftmax.cc72 std::vector<float> ComputeSoftmax(const std::vector<float> &scores) { in ComputeSoftmax() function
73 return ComputeSoftmax(scores.data(), scores.size()); in ComputeSoftmax()
76 std::vector<float> ComputeSoftmax(const float *scores, int scores_size) { in ComputeSoftmax() function
Dsoftmax.h31 std::vector<float> ComputeSoftmax(const std::vector<float> &scores);
34 std::vector<float> ComputeSoftmax(const float *scores, int scores_size);
/external/libtextclassifier/native/lang_id/common/math/
Dsoftmax.h34 std::vector<float> ComputeSoftmax(const std::vector<float> &scores,
Dsoftmax.cc73 std::vector<float> ComputeSoftmax(const std::vector<float> &scores, in ComputeSoftmax() function
/external/libtextclassifier/native/lang_id/
Dlang-id.cc169 const std::vector<float> softmax = ComputeSoftmax(scores); in FindLanguages()
/external/libtextclassifier/native/annotator/
Dannotator.cc1562 ComputeSoftmax(logits.data(), logits.dim(1)); in ModelClassifyText()
3019 const std::vector<float> scores = ComputeSoftmax( in ModelClickContextScoreChunks()