Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DActivation.cpp167 static constexpr int kInputIntegerBits = 4; in tanhQuant8() local
170 inputShape.scale * static_cast<double>(1 << (31 - kInputIntegerBits)); in tanhQuant8()
178 int32_t input_range_radius = CalculateInputRadius(kInputIntegerBits, input_left_shift); in tanhQuant8()
197 static constexpr int kInputIntegerBits = 4; in logisticQuant8() local
200 inputShape.scale * static_cast<double>(1 << (31 - kInputIntegerBits)); in logisticQuant8()
208 int32_t input_range_radius = CalculateInputRadius(kInputIntegerBits, input_left_shift); in logisticQuant8()
262 static constexpr int kInputIntegerBits = 4; in tanhQuant8Signed() local
265 inputShape.scale * static_cast<double>(1 << (31 - kInputIntegerBits)); in tanhQuant8Signed()
273 int32_t input_range_radius = CalculateInputRadius(kInputIntegerBits, input_left_shift); in tanhQuant8Signed()
291 static constexpr int kInputIntegerBits = 4; in logisticQuant8Signed() local
[all …]