Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/specs/AIDL_V3/
Drsqrt_quant8.mod.py23 for inScale, inOffset, inToken in [(0.25, 0, "25h_0"),
34 input0_value = in0 / inScale + inOffset
42 … = Input("input0", "TENSOR_QUANT8_ASYMM", "{%d}, %f, %d" % (len(input0_values), inScale, inOffset))
/packages/modules/NeuralNetworks/common/cpu_operations/
DElementwise.cpp52 auto makeQuantized(const std::function<IntermediateType(IntermediateType)>& func, float inScale, in makeQuantized() argument
54 return [func, inScale, inZeroPoint, outScale, outZeroPoint](T val) -> T { in makeQuantized()
59 (static_cast<WideT>(val) - static_cast<WideT>(inZeroPoint)) * inScale; in makeQuantized()