Home
last modified time | relevance | path

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

/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.cpp166 OperandInfo& operandInfo = mOperands[operand]; in getQuantizationMin() local
167 if (operandInfo.hexagon_input_min == hexagon_nn_input{}) { in getQuantizationMin()
169 operandInfo.type == OperandType::TENSOR_QUANT8_ASYMM in getQuantizationMin()
170 ? (std::numeric_limits<uint8_t>::min() - operandInfo.zeroPoint) * operandInfo.scale in getQuantizationMin()
171 : std::numeric_limits<uint32_t>::min() * operandInfo.scale; in getQuantizationMin()
172 operandInfo.hexagon_input_min = createValues<float>({real_value}); in getQuantizationMin()
174 return operandInfo.hexagon_input_min; in getQuantizationMin()
178 OperandInfo& operandInfo = mOperands[operand]; in getQuantizationMax() local
179 if (operandInfo.hexagon_input_max == hexagon_nn_input{}) { in getQuantizationMax()
181 operandInfo.type == OperandType::TENSOR_QUANT8_ASYMM in getQuantizationMax()
[all …]