Searched refs:channelQuant (Results 1 – 10 of 10) sorted by relevance
37 android.hardware.neuralnetworks.SymmPerChannelQuantParams channelQuant;
31 SymmPerChannelQuantParams channelQuant;
205 case Discriminator::channelQuant: in sizeForBinder()206 return sizeForBinder(extraParams.channelQuant()); in sizeForBinder()782 SymmPerChannelQuantParams channelQuant; in mutateOperand() local783 channelQuant.channelDim = 0; in mutateOperand()784 channelQuant.scales = hidl_vec<float>( in mutateOperand()787 for (size_t i = 0; i < channelQuant.scales.size(); ++i) { in mutateOperand()788 channelQuant.scales[i] = 1.0f; in mutateOperand()790 newOperand.extraParams.channelQuant(std::move(channelQuant)); in mutateOperand()
99 extraParams.channelQuant(SymmPerChannelQuantParams{ in createModel()100 .scales = op.channelQuant.scales, .channelDim = op.channelQuant.channelDim}); in createModel()
176 case Discriminator::channelQuant: in unvalidatedConvert()177 return unvalidatedConvert(extraParams.channelQuant()); in unvalidatedConvert()361 const nn::Operand::SymmPerChannelQuantParams& channelQuant) { in makeExtraParams() argument363 ret.channelQuant(NN_TRY(unvalidatedConvert(channelQuant))); in makeExtraParams()
218 case Tag::channelQuant: in sizeForBinder()219 return sizeForBinder(extraParams.get<Tag::channelQuant>()); in sizeForBinder()790 SymmPerChannelQuantParams channelQuant; in mutateOperand() local791 channelQuant.channelDim = 0; in mutateOperand()792 channelQuant.scales = std::vector<float>( in mutateOperand()795 for (size_t i = 0; i < channelQuant.scales.size(); ++i) { in mutateOperand()796 channelQuant.scales[i] = 1.0f; in mutateOperand()798 newOperand.extraParams->set<OperandExtraParams::Tag::channelQuant>( in mutateOperand()799 std::move(channelQuant)); in mutateOperand()
201 extraParams = OperandExtraParams::make<Tag::channelQuant>(SymmPerChannelQuantParams{ in createSubgraph()202 .scales = op.channelQuant.scales, in createSubgraph()203 .channelDim = static_cast<int32_t>(op.channelQuant.channelDim)}); in createSubgraph()
228 extraParams.channelQuant(SymmPerChannelQuantParams{ in createSubgraph()229 .scales = op.channelQuant.scales, .channelDim = op.channelQuant.channelDim}); in createSubgraph()
274 case Tag::channelQuant: in unvalidatedConvert()275 return unvalidatedConvert(extraParams.get<Tag::channelQuant>()); in unvalidatedConvert()841 return OperandExtraParams::make<OperandExtraParams::Tag::channelQuant>( in unvalidatedConvert()
4908 SymmPerChannelQuantParams channelQuant;