Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h3756 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in PopulateSoftmaxLookupTable() local
3757 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() local
3783 const float* table_offset = &params.table[max_uint8 - max_val]; in Softmax()
3840 const int32_t max_uint8 = std::numeric_limits<uint8_t>::max(); in PopulateSoftmaxUInt8LookupTable() local
3843 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() local
3953 const uint8_t table_offset = max_uint8 - max_val; in SoftmaxInt8LUT()