Home
last modified time | relevance | path

Searched refs:validateHalVersion (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/ml/nn/common/
DUtils.cpp684 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() function
853 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
902 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation()
906 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
910 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation()
914 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
944 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation()
948 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
952 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation()
956 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
[all …]
/frameworks/ml/nn/common/operations/
DResizeImageOps.cpp193 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
196 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
199 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
210 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
213 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
218 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
DLocalResponseNormalization.cpp145 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
152 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
164 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
166 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
DTranspose.cpp82 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_1)); in validate()
84 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
86 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
DFullyConnected.cpp230 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
238 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
255 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
257 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
267 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
DL2Normalization.cpp210 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
212 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
214 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
220 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
222 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
DSoftmax.cpp239 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
242 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
245 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
255 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
259 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
DElementwise.cpp97 return validateHalVersion(context, HalVersion::V1_2); in validate()
109 return validateHalVersion(context, (inputType == OperandType::TENSOR_INT32 ? HalVersion::V1_3 in validateAbs()
129 return validateHalVersion( in validateFloor()
DPooling.cpp300 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
306 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
314 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
326 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
348 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
350 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
DQuantize.cpp83 return validateHalVersion(context, HalVersion::V1_3); in validate()
85 return validateHalVersion(context, HalVersion::V1_2); in validate()
DChannelShuffle.cpp79 return validateHalVersion(context, HalVersion::V1_3); in validate()
81 return validateHalVersion(context, HalVersion::V1_2); in validate()
DConcatenation.cpp147 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
149 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
151 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
DReduce.cpp86 return validateHalVersion(context, HalVersion::V1_2); in validateProdSum()
109 return validateHalVersion(context, minHalVersion); in validateMaxMin()
125 return validateHalVersion(context, HalVersion::V1_2); in validateLogical()
DActivation.cpp364 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
366 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
369 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
371 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_0)); in validate()
374 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
392 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validateHardSwish()
DGather.cpp79 return validateHalVersion(context, HalVersion::V1_3); in validate()
81 return validateHalVersion(context, HalVersion::V1_2); in validate()
DDequantize.cpp93 return validateHalVersion(context, HalVersion::V1_0); in validate()
104 return validateHalVersion(context, HalVersion::V1_2); in validate()
DPRelu.cpp113 return validateHalVersion(context, HalVersion::V1_3); in validate()
115 return validateHalVersion(context, HalVersion::V1_2); in validate()
DRank.cpp50 return validateHalVersion(context, HalVersion::V1_3); in validate()
DLogicalNot.cpp55 return validateHalVersion(context, HalVersion::V1_2); in validate()
DSlice.cpp96 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
98 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
DBroadcast.cpp446 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_0, opIntroducedAt))); in validate()
448 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_2, opIntroducedAt))); in validate()
451 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_2, opIntroducedAt))); in validate()
459 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_0, opIntroducedAt))); in validate()
461 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_0, opIntroducedAt))); in validate()
465 NN_RET_CHECK(validateHalVersion(context, std::max(HalVersion::V1_3, opIntroducedAt))); in validate()
DNeg.cpp62 return validateHalVersion(context, HalVersion::V1_2); in validate()
DElu.cpp63 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
DFill.cpp83 return validateHalVersion(context, HalVersion::V1_3); in validate()
DLogicalAndOr.cpp71 return validateHalVersion(context, HalVersion::V1_2); in validate()

12