Searched refs:float_vec (Results 1 – 1 of 1) sorted by relevance
178 static void QuantizeImage(const std::vector<float>& float_vec, in QuantizeImage() argument180 quint8_vec->resize(float_vec.size()); in QuantizeImage()181 for (int i = 0; i < float_vec.size(); ++i) { in QuantizeImage()182 quint8_vec->at(i) = FloatToQuantized<quint8>(float_vec[i], -1.0f, 1.0f); in QuantizeImage()