Home
last modified time | relevance | path

Searched refs:NN_RET_CHECK_LE (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/NeuralNetworks/common/operations/
DReduce.cpp85 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validateProdSum()
108 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validateMaxMin()
124 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validateLogical()
133 NN_RET_CHECK_LE(inputRank, 4); in prepare()
DSqueeze.cpp64 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
80 NN_RET_CHECK_LE(getNumberOfDimensions(inputShape), 4); in prepare()
DDequantize.cpp87 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
108 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in prepare()
DTranspose.cpp94 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
123 NN_RET_CHECK_LE(numInputDims, 4); in prepare()
DElementwise.cpp122 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validateFloor()
138 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in prepareFloor()
DSlice.cpp134 NN_RET_CHECK_LE(beginData[i], getSizeOfDimension(inputShape, i)); in prepare()
136 NN_RET_CHECK_LE(sliceBegin + sliceSize, getSizeOfDimension(inputShape, i)); in prepare()
DLocalResponseNormalization.cpp175 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
189 NN_RET_CHECK_LE(numDimensions, 4); in prepare()
DConcatenation.cpp173 NN_RET_CHECK_LE(inputRank, 4); in validate()
190 NN_RET_CHECK_LE(numDimensions, 4); in prepare()
DBroadcast.cpp476 NN_RET_CHECK_LE(getNumberOfDimensions(input1), 4); in validate()
477 NN_RET_CHECK_LE(getNumberOfDimensions(input2), 4); in validate()
489 NN_RET_CHECK_LE(getNumberOfDimensions(input1), 4); in prepare()
490 NN_RET_CHECK_LE(getNumberOfDimensions(input2), 4); in prepare()
DL2Normalization.cpp229 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
243 NN_RET_CHECK_LE(numDimensions, 4); in prepare()
DSoftmax.cpp256 NN_RET_CHECK_LE(inputRank, 4); in validate()
277 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in prepare()
DHeatmapMaxKeypoint.cpp107 NN_RET_CHECK_LE(boxInfoBase[0], boxInfoBase[2]); in heatmapMaxKeypointFloat32Nhwc()
108 NN_RET_CHECK_LE(boxInfoBase[1], boxInfoBase[3]); in heatmapMaxKeypointFloat32Nhwc()
DTopK_V2.cpp99 NN_RET_CHECK_LE(k, inputShape.dimensions.back()); in prepare()
DChannelShuffle.cpp71 NN_RET_CHECK_LE(getNumberOfDimensions(inputShape), 4); in validate()
DGather.cpp50 NN_RET_CHECK_LE(0u, inputIndex); in eval()
DRoiAlign.cpp226 NN_RET_CHECK_LE(wRoiStart, wRoiEnd); in roiAlignQuantNhwc()
227 NN_RET_CHECK_LE(hRoiStart, hRoiEnd); in roiAlignQuantNhwc()
DActivation.cpp384 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
412 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in prepare()
DStridedSlice.cpp135 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validate()
DFullyConnected.cpp199 NN_RET_CHECK_LE(getNumberOfDimensions(input), 4); in validateShapes()
DGenerateProposals.cpp82 NN_RET_CHECK_LE(roiBase[0], roiBase[2]); in bboxTransformFloat32()
83 NN_RET_CHECK_LE(roiBase[1], roiBase[3]); in bboxTransformFloat32()
529 NN_RET_CHECK_LE(roi[0], roi[2]); in boxWithNmsLimitFloat32Compute()
530 NN_RET_CHECK_LE(roi[1], roi[3]); in boxWithNmsLimitFloat32Compute()
/packages/modules/NeuralNetworks/common/
DAidlValidateHal.cpp60 NN_RET_CHECK_LE(role.probability, 1.0f); in validateMemoryDesc()
74 NN_RET_CHECK_LE(role.probability, 1.0f); in validateMemoryDesc()
DValidateHal.cpp891 NN_RET_CHECK_LE(role.frequency, 1.0f); in validateMemoryDesc()
905 NN_RET_CHECK_LE(role.frequency, 1.0f); in validateMemoryDesc()
DOperationsUtils.cpp188 NN_RET_CHECK_LE(q_fixed, std::numeric_limits<int32_t>::max()); in QuantizeMultiplier()
/packages/modules/NeuralNetworks/runtime/
DTypeManager.cpp219 NN_RET_CHECK_LE(mPrefixToExtension.size(), kMaxPrefix) << "Too many extensions in use"; in getExtensionPrefix()
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypeUtils.h212 #define NN_RET_CHECK_LE(x, y) NN_RET_CHECK_OP(x, y, <=) macro

12