Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp163 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
171 .extraParams = std::move(extraParams), in unvalidatedConvert()
176 const hal::V1_2::Operand::ExtraParams& extraParams) { in unvalidatedConvert() argument
178 switch (extraParams.getDiscriminator()) { in unvalidatedConvert()
182 return unvalidatedConvert(extraParams.channelQuant()); in unvalidatedConvert()
184 return extraParams.extension(); in unvalidatedConvert()
188 << underlyingType(extraParams.getDiscriminator()); in unvalidatedConvert()
473 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
482 .extraParams = std::move(extraParams), in unvalidatedConvert()
487 const nn::Operand::ExtraParams& extraParams) { in unvalidatedConvert() argument
[all …]
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DOperand.aidl111 @nullable OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DOperand.aidl43 @nullable android.hardware.neuralnetworks.OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DOperand.aidl43 @nullable android.hardware.neuralnetworks.OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DOperand.aidl43 @nullable android.hardware.neuralnetworks.OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DOperand.aidl43 @nullable android.hardware.neuralnetworks.OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DOperand.aidl43 @nullable android.hardware.neuralnetworks.OperandExtraParams extraParams;
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp179 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
187 .extraParams = std::move(extraParams), in unvalidatedConvert()
414 const nn::Operand::ExtraParams& extraParams) { in unvalidatedConvert() argument
415 return V1_2::utils::unvalidatedConvert(extraParams); in unvalidatedConvert()
543 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
552 .extraParams = std::move(extraParams), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp257 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
265 .extraParams = std::move(extraParams), in unvalidatedConvert()
274 const auto& extraParams = optionalExtraParams.value(); in unvalidatedConvert() local
276 switch (extraParams.getTag()) { in unvalidatedConvert()
278 return unvalidatedConvert(extraParams.get<Tag::channelQuant>()); in unvalidatedConvert()
280 return extraParams.get<Tag::extension>(); in unvalidatedConvert()
283 << underlyingType(extraParams.getTag()); in unvalidatedConvert()
917 const nn::Operand::ExtraParams& extraParams) { in unvalidatedConvert() argument
949 extraParams); in unvalidatedConvert()
957 auto extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)); in unvalidatedConvert() local
[all …]
DValidateHal.cpp101 const auto& lhsExtraParams = operand.extraParams; in validateMemoryDesc()
102 const auto& rhsExtraParams = operands[0].extraParams; in validateMemoryDesc()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp97 Operand::ExtraParams extraParams; in createModel() local
99 extraParams.channelQuant(SymmPerChannelQuantParams{ in createModel()
110 .extraParams = std::move(extraParams)}; in createModel()
DValidateModel.cpp200 size_t sizeForBinder(const Operand::ExtraParams& extraParams) { in sizeForBinder() argument
202 switch (extraParams.getDiscriminator()) { in sizeForBinder()
206 return sizeForBinder(extraParams.channelQuant()); in sizeForBinder()
208 return sizeForBinder(extraParams.extension()); in sizeForBinder()
211 << static_cast<int>(extraParams.getDiscriminator()); in sizeForBinder()
226 size += sizeForBinder(operand.extraParams); in sizeForBinder()
788 newOperand.extraParams.channelQuant(std::move(channelQuant)); in mutateOperand()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DConversions.h38 const hal::V1_2::Operand::ExtraParams& extraParams);
78 const nn::Operand::ExtraParams& extraParams);
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp207 size_t sizeForBinder(const V1_2::Operand::ExtraParams& extraParams) { in sizeForBinder() argument
209 switch (extraParams.getDiscriminator()) { in sizeForBinder()
213 return sizeForBinder(extraParams.channelQuant()); in sizeForBinder()
215 return sizeForBinder(extraParams.extension()); in sizeForBinder()
218 << static_cast<int>(extraParams.getDiscriminator()); in sizeForBinder()
233 size += sizeForBinder(operand.extraParams); in sizeForBinder()
816 newOperand.extraParams.channelQuant(std::move(channelQuant)); in mutateOperand()
DGeneratedTestHarness.cpp226 V1_2::Operand::ExtraParams extraParams; in createSubgraph() local
228 extraParams.channelQuant(SymmPerChannelQuantParams{ in createSubgraph()
239 .extraParams = std::move(extraParams)}; in createSubgraph()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp244 const auto& extraParams = optionalExtraParams.value(); in sizeForBinder() local
246 switch (extraParams.getTag()) { in sizeForBinder()
248 return sizeForBinder(extraParams.get<Tag::channelQuant>()); in sizeForBinder()
250 return sizeForBinder(extraParams.get<Tag::extension>()); in sizeForBinder()
252 LOG(FATAL) << "Unrecognized extraParams tag: " << static_cast<int>(extraParams.getTag()); in sizeForBinder()
266 size += sizeForBinder(operand.extraParams); in sizeForBinder()
825 newOperand.extraParams->set<OperandExtraParams::Tag::channelQuant>( in mutateOperand()
DGeneratedTestHarness.cpp241 std::optional<OperandExtraParams> extraParams; in createSubgraph() local
244 extraParams = OperandExtraParams::make<Tag::channelQuant>(SymmPerChannelQuantParams{ in createSubgraph()
255 .extraParams = std::move(extraParams)}; in createSubgraph()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dencoder.py114 extraParams = [context_param.paramName]
116 extraParams.append(input_result_param)
119 extraParams + \
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h164 const nn::Operand::ExtraParams& extraParams);
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal5111 * zeroPoints, and extraParams as the corresponding operation
5178 * scales, zeroPoints, and extraParams as the
5185 * scales, zeroPoints, and extraParams as the
5589 @1.2::Operand.ExtraParams extraParams;
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal4917 } extraParams;