Lines Matching refs:operandInfo

166     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()
182 ? (std::numeric_limits<uint8_t>::max() - operandInfo.zeroPoint) * operandInfo.scale in getQuantizationMax()
183 : std::numeric_limits<uint32_t>::max() * operandInfo.scale; in getQuantizationMax()
184 operandInfo.hexagon_input_max = createValues<float>({real_value}); in getQuantizationMax()
186 return operandInfo.hexagon_input_max; in getQuantizationMax()
195 OperandInfo& operandInfo = mOperands[operand]; in createQuantizationValue() local
196 float real_value = (quant_value - operandInfo.zeroPoint) * operandInfo.scale; in createQuantizationValue()
201 OperandInfo& operandInfo = mOperands[operand]; in createConvFilterTensor() local
208 reinterpret_cast<const float*>(operandInfo.buffer)); in createConvFilterTensor()
211 operandInfo.length); in createConvFilterTensor()
215 reinterpret_cast<const uint8_t*>(operandInfo.buffer)); in createConvFilterTensor()
218 operandInfo.length); in createConvFilterTensor()
223 OperandInfo& operandInfo = mOperands[operand]; in createDepthwiseFilterTensor() local
228 dims[0] * depth_multiplier, operandInfo.buffer, operandInfo.length); in createDepthwiseFilterTensor()
232 OperandInfo& operandInfo = mOperands[operand]; in createFullyConnectedWeightTensor() local
240 num_units, input_size, reinterpret_cast<const float*>(operandInfo.buffer)); in createFullyConnectedWeightTensor()
243 operandInfo.length); in createFullyConnectedWeightTensor()
246 num_units, input_size, reinterpret_cast<const uint8_t*>(operandInfo.buffer)); in createFullyConnectedWeightTensor()
249 operandInfo.length); in createFullyConnectedWeightTensor()