/frameworks/ml/nn/common/ |
D | Utils.cpp | 684 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/ |
D | ResizeImageOps.cpp | 193 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()
|
D | LocalResponseNormalization.cpp | 145 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()
|
D | Transpose.cpp | 82 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()
|
D | FullyConnected.cpp | 230 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()
|
D | L2Normalization.cpp | 210 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()
|
D | Softmax.cpp | 239 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()
|
D | Elementwise.cpp | 97 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()
|
D | Pooling.cpp | 300 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()
|
D | Quantize.cpp | 83 return validateHalVersion(context, HalVersion::V1_3); in validate() 85 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | ChannelShuffle.cpp | 79 return validateHalVersion(context, HalVersion::V1_3); in validate() 81 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | Concatenation.cpp | 147 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()
|
D | Reduce.cpp | 86 return validateHalVersion(context, HalVersion::V1_2); in validateProdSum() 109 return validateHalVersion(context, minHalVersion); in validateMaxMin() 125 return validateHalVersion(context, HalVersion::V1_2); in validateLogical()
|
D | Activation.cpp | 364 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()
|
D | Gather.cpp | 79 return validateHalVersion(context, HalVersion::V1_3); in validate() 81 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | Dequantize.cpp | 93 return validateHalVersion(context, HalVersion::V1_0); in validate() 104 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | PRelu.cpp | 113 return validateHalVersion(context, HalVersion::V1_3); in validate() 115 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | Rank.cpp | 50 return validateHalVersion(context, HalVersion::V1_3); in validate()
|
D | LogicalNot.cpp | 55 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | Slice.cpp | 96 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate() 98 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_2)); in validate()
|
D | Broadcast.cpp | 446 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()
|
D | Neg.cpp | 62 return validateHalVersion(context, HalVersion::V1_2); in validate()
|
D | Elu.cpp | 63 NN_RET_CHECK(validateHalVersion(context, HalVersion::V1_3)); in validate()
|
D | Fill.cpp | 83 return validateHalVersion(context, HalVersion::V1_3); in validate()
|
D | LogicalAndOr.cpp | 71 return validateHalVersion(context, HalVersion::V1_2); in validate()
|