Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/sentencepiece/
Dnormalizer.cc25 std::string* normalized_input) const { in Normalize()
47 *normalized_input = ""; in Normalize()
53 normalized_input->reserve(kReservedSize); in Normalize()
65 normalized_input->append(kSpaceSymbol.data(), kSpaceSymbol.size()); in Normalize()
67 normalized_input->append(" "); in Normalize()
94 normalized_input->append(kSpaceSymbol.data(), kSpaceSymbol.size()); in Normalize()
96 *normalized_input += data[n]; in Normalize()
109 while (EndsWith(*normalized_input, space)) { in Normalize()
110 const int length = normalized_input->size() - space.size(); in Normalize()
111 normalized_input->resize(length); in Normalize()
Dnormalizer.h57 bool Normalize(StringPiece input, std::string* normalized_input) const;
/external/libaom/libaom/av1/encoder/
Dml.c69 const float normalized_input = AOMMAX(input[i] - max_inp, -10.0f); in av1_nn_softmax() local
70 output[i] = (float)exp(normalized_input); in av1_nn_softmax()