Searched refs:max_uint8 (Results 1 – 1 of 1) sorted by relevance
3756 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in PopulateSoftmaxLookupTable() local3757 for (int32_t val = 0; val <= max_uint8; ++val) { in PopulateSoftmaxLookupTable()3758 data->table[max_uint8 - val] = expf(scale * val); in PopulateSoftmaxLookupTable()3782 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in Softmax() local3783 const float* table_offset = ¶ms.table[max_uint8 - max_val]; in Softmax()3840 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in PopulateSoftmaxUInt8LookupTable() local3843 for (int32_t val = 0; val <= max_uint8; ++val) { in PopulateSoftmaxUInt8LookupTable()3844 float input_to_exp = scale * (val - max_uint8); in PopulateSoftmaxUInt8LookupTable()3952 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in SoftmaxInt8LUT() local3953 const uint8_t table_offset = max_uint8 - max_val; in SoftmaxInt8LUT()