Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DOperandExtraParams.aidl37 android.hardware.neuralnetworks.SymmPerChannelQuantParams channelQuant;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DOperandExtraParams.aidl31 SymmPerChannelQuantParams channelQuant;
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp205 case Discriminator::channelQuant: in sizeForBinder()
206 return sizeForBinder(extraParams.channelQuant()); in sizeForBinder()
782 SymmPerChannelQuantParams channelQuant; in mutateOperand() local
783 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()
DGeneratedTestHarness.cpp99 extraParams.channelQuant(SymmPerChannelQuantParams{ in createModel()
100 .scales = op.channelQuant.scales, .channelDim = op.channelQuant.channelDim}); in createModel()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp176 case Discriminator::channelQuant: in unvalidatedConvert()
177 return unvalidatedConvert(extraParams.channelQuant()); in unvalidatedConvert()
361 const nn::Operand::SymmPerChannelQuantParams& channelQuant) { in makeExtraParams() argument
363 ret.channelQuant(NN_TRY(unvalidatedConvert(channelQuant))); in makeExtraParams()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp218 case Tag::channelQuant: in sizeForBinder()
219 return sizeForBinder(extraParams.get<Tag::channelQuant>()); in sizeForBinder()
790 SymmPerChannelQuantParams channelQuant; in mutateOperand() local
791 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()
DGeneratedTestHarness.cpp201 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()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp228 extraParams.channelQuant(SymmPerChannelQuantParams{ in createSubgraph()
229 .scales = op.channelQuant.scales, .channelDim = op.channelQuant.channelDim}); in createSubgraph()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp274 case Tag::channelQuant: in unvalidatedConvert()
275 return unvalidatedConvert(extraParams.get<Tag::channelQuant>()); in unvalidatedConvert()
841 return OperandExtraParams::make<OperandExtraParams::Tag::channelQuant>( in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal4908 SymmPerChannelQuantParams channelQuant;