Home
last modified time | relevance | path

Searched refs:NN_RET_CHECK_GE (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/NeuralNetworks/common/cpu_operations/
DReverse.cpp45 NN_RET_CHECK_GE(inputTensorRank, 1U); in prepare()
53 NN_RET_CHECK_GE(axisDimension, 0); in prepare()
DPooling.cpp91 NN_RET_CHECK_GE(padding_left, 0); in initialize()
92 NN_RET_CHECK_GE(padding_right, 0); in initialize()
93 NN_RET_CHECK_GE(padding_top, 0); in initialize()
94 NN_RET_CHECK_GE(padding_bottom, 0); in initialize()
99 NN_RET_CHECK_GE(activation, 0); in initialize()
DPack.cpp46 NN_RET_CHECK_GE(firstInputTensorRank, 1U); in prepare()
57 NN_RET_CHECK_GE(axisDimension, 0); in prepare()
DLocalResponseNormalization.cpp139 NN_RET_CHECK_GE(axis, -numDimensions); in prepare()
142 NN_RET_CHECK_GE(radius, 0); in prepare()
DMirrorPad.cpp61 NN_RET_CHECK_GE(beforePadding, 0); in prepare()
64 NN_RET_CHECK_GE(afterPadding, 0); in prepare()
DRoiAlign.cpp76 NN_RET_CHECK_GE(batchId, 0u); in roiAlignNhwc()
208 NN_RET_CHECK_GE(batchId, 0u); in roiAlignQuantNhwc()
370 NN_RET_CHECK_GE(heightSamplingRatio, 0); in prepare()
371 NN_RET_CHECK_GE(widthSamplingRatio, 0); in prepare()
DDepthwiseConv2D.cpp104 NN_RET_CHECK_GE(padding_left, 0); in initialize()
105 NN_RET_CHECK_GE(padding_right, 0); in initialize()
106 NN_RET_CHECK_GE(padding_top, 0); in initialize()
107 NN_RET_CHECK_GE(padding_bottom, 0); in initialize()
113 NN_RET_CHECK_GE(activation, 0); in initialize()
DConcatenation.cpp147 NN_RET_CHECK_GE(numInputs, 2u); in prepare()
151 NN_RET_CHECK_GE(axis, 0); in prepare()
DConv2D.cpp117 NN_RET_CHECK_GE(padding_left, 0); in initialize()
118 NN_RET_CHECK_GE(padding_right, 0); in initialize()
119 NN_RET_CHECK_GE(padding_top, 0); in initialize()
120 NN_RET_CHECK_GE(padding_bottom, 0); in initialize()
125 NN_RET_CHECK_GE(activation, 0); in initialize()
DTransposeConv2D.cpp96 NN_RET_CHECK_GE(paddingLeft, 0); in initialize()
97 NN_RET_CHECK_GE(paddingTop, 0); in initialize()
100 NN_RET_CHECK_GE(activation, 0); in initialize()
DSlice.cpp102 NN_RET_CHECK_GE(sliceSize, 0); in prepare()
DBatchMatmul.cpp209 NN_RET_CHECK_GE(getNumberOfDimensions(inputLHSTensorShape), 2u) in prepare()
DL2Normalization.cpp208 NN_RET_CHECK_GE(axis, -numDimensions); in prepare()
DRoiPooling.cpp70 NN_RET_CHECK_GE(batchId, 0u); in roiPoolingNhwc()
DGenerateProposals.cpp83 NN_RET_CHECK_GE(batchIndex, 0u); in bboxTransformFloat32()
1422 NN_RET_CHECK_GE(context->getInputValue<float>(kScoreThresholdScalar), 0); in prepare()
1423 NN_RET_CHECK_GE(context->getInputValue<float>(kIoUThresholdScalar), 0); in prepare()
1435 NN_RET_CHECK_GE(lengthBoxEncoding, 4u); in prepare()
DHeatmapMaxKeypoint.cpp234 NN_RET_CHECK_GE(heatmapSize, 2u); in prepare()
/packages/modules/NeuralNetworks/common/types/operations/src/
DDensify.cpp29 NN_RET_CHECK_GE(inputCount, kMinNumInputs); in validate()
DConcatenation.cpp29 NN_RET_CHECK_GE(inputCount, 2u); in validate()
DPack.cpp25 NN_RET_CHECK_GE(context->getNumInputs(), kMinNumInputs); in validate()
DFullyConnected.cpp38 NN_RET_CHECK_GE(getNumberOfDimensions(input), 2u); in validateShapes()
/packages/modules/NeuralNetworks/common/
DQuantUtils.h84 NN_RET_CHECK_GE(input, 0); in GetInvSqrtQuantizedMultiplierExp()
106 NN_RET_CHECK_GE(input, (1 << 27)); in GetInvSqrtQuantizedMultiplierExp()
DLegacyUtils.cpp590 NN_RET_CHECK_GE(inputCount, 3u) << "ANEURALNETWORKS_IF must have at least 3 inputs"; in validateIfOperation()
591 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_IF must have at least 1 output"; in validateIfOperation()
642 NN_RET_CHECK_GE(inputCount, 3u) << "ANEURALNETWORKS_WHILE must have at least 3 inputs"; in validateWhileOperation()
643 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_WHILE must have at least 1 output"; in validateWhileOperation()
668 NN_RET_CHECK_GE(bodyModelOutputCount, outputCount); in validateWhileOperation()
669 NN_RET_CHECK_GE(bodyModelInputCount, bodyModelOutputCount); in validateWhileOperation()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp492 NN_RET_CHECK_GE(operand.scale, 0.0f) in validateOperandScale()
1113 NN_RET_CHECK_GE(optionalTimePoint->time_since_epoch().count(), 0); in validateOptionalTimePoint()
1121 NN_RET_CHECK_GE(optionalTimeoutDuration->count(), 0); in validateOptionalTimeoutDuration()
1138 NN_RET_CHECK_GE(syncFence.getFd(), 0); in validateSyncFence()
1600 NN_RET_CHECK_GE(inputs.size(), 3u) << "IF must have at least 3 inputs"; in validateIfOperation()
1601 NN_RET_CHECK_GE(outputs.size(), 1u) << "IF must have at least 1 output"; in validateIfOperation()
1662 NN_RET_CHECK_GE(inputs.size(), 3u) << "WHILE must have at least 3 inputs"; in validateWhileOperation()
1663 NN_RET_CHECK_GE(outputs.size(), 1u) << "WHILE must have at least 1 output"; in validateWhileOperation()
1697 NN_RET_CHECK_GE(bodyModelOutputCount, outputs.size()); in validateWhileOperation()
1698 NN_RET_CHECK_GE(bodyModelInputCount, bodyModelOutputCount); in validateWhileOperation()
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp87 NN_RET_CHECK_GE(n, 1); in prepare()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp73 NN_RET_CHECK_GE(operand.data.size(), sizeof(uint32_t)); in createOperand()

12