Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DUtils.cpp494 const Operand& halOperand, const ANeuralNetworksSymmPerChannelQuantParams& channelQuant, in validateOperandSymmPerChannelQuantParams() argument
496 if (halOperand.type != OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL) { in validateOperandSymmPerChannelQuantParams()
500 NN_RET_CHECK_LT(channelQuant.channelDim, halOperand.dimensions.size()) << tag; in validateOperandSymmPerChannelQuantParams()
502 NN_RET_CHECK_EQ(channelQuant.scaleCount, halOperand.dimensions[channelQuant.channelDim]) << tag; in validateOperandSymmPerChannelQuantParams()
503 NN_RET_CHECK_NE(halOperand.dimensions[channelQuant.channelDim], 0u) in validateOperandSymmPerChannelQuantParams()
505 for (uint32_t i = 0; i < halOperand.dimensions[channelQuant.channelDim]; i++) { in validateOperandSymmPerChannelQuantParams()
/frameworks/ml/nn/common/include/
DUtils.h371 const hal::Operand& halOperand,