Home
last modified time | relevance | path

Searched refs:NN_RET_CHECK_GT (Results 1 – 15 of 15) sorted by relevance

/frameworks/ml/nn/common/operations/
DPooling.cpp83 NN_RET_CHECK_GT(stride_width, 0); in initialize()
84 NN_RET_CHECK_GT(stride_height, 0); in initialize()
85 NN_RET_CHECK_GT(filter_width, 0); in initialize()
86 NN_RET_CHECK_GT(filter_height, 0); in initialize()
88 NN_RET_CHECK_GT(filter_width, padding_left); in initialize()
89 NN_RET_CHECK_GT(filter_width, padding_right); in initialize()
90 NN_RET_CHECK_GT(filter_height, padding_top); in initialize()
91 NN_RET_CHECK_GT(filter_height, padding_bottom); in initialize()
313 NN_RET_CHECK_GT(height, 0); in prepare()
314 NN_RET_CHECK_GT(width, 0); in prepare()
[all …]
DResizeImageOps.cpp156 NN_RET_CHECK_GT(inHeight, 0); in prepare()
157 NN_RET_CHECK_GT(inWidth, 0); in prepare()
158 NN_RET_CHECK_GT(channels, 0); in prepare()
180 NN_RET_CHECK_GT(height, 0); in prepare()
181 NN_RET_CHECK_GT(width, 0); in prepare()
DConv2D.cpp110 NN_RET_CHECK_GT(stride_width, 0); in initialize()
111 NN_RET_CHECK_GT(stride_height, 0); in initialize()
112 NN_RET_CHECK_GT(dilation_width_factor, 0); in initialize()
113 NN_RET_CHECK_GT(dilation_height_factor, 0); in initialize()
521 NN_RET_CHECK_GT(height, 0); in prepare()
522 NN_RET_CHECK_GT(width, 0); in prepare()
523 NN_RET_CHECK_GT(channels_in, 0); in prepare()
524 NN_RET_CHECK_GT(channels_out, 0); in prepare()
528 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
529 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
[all …]
DTransposeConv2D.cpp93 NN_RET_CHECK_GT(strideWidth, 0); in initialize()
94 NN_RET_CHECK_GT(strideHeight, 0); in initialize()
497 NN_RET_CHECK_GT(height, 0); in prepare()
498 NN_RET_CHECK_GT(width, 0); in prepare()
499 NN_RET_CHECK_GT(channels_in, 0); in prepare()
500 NN_RET_CHECK_GT(channels_out, 0); in prepare()
501 NN_RET_CHECK_GT(filterWidth, 0); in prepare()
502 NN_RET_CHECK_GT(filterHeight, 0); in prepare()
508 NN_RET_CHECK_GT(outWidth, 0); in prepare()
509 NN_RET_CHECK_GT(outHeight, 0); in prepare()
DRoiAlign.cpp381 NN_RET_CHECK_GT(numBatches, 0); in prepare()
382 NN_RET_CHECK_GT(inHeight, 0); in prepare()
383 NN_RET_CHECK_GT(inWidth, 0); in prepare()
384 NN_RET_CHECK_GT(inDepth, 0); in prepare()
400 NN_RET_CHECK_GT(outputHeight, 0); in prepare()
401 NN_RET_CHECK_GT(outputWidth, 0); in prepare()
402 NN_RET_CHECK_GT(heightScale, 0); in prepare()
403 NN_RET_CHECK_GT(widthScale, 0); in prepare()
DRoiPooling.cpp228 NN_RET_CHECK_GT(outputHeight, 0); in prepare()
229 NN_RET_CHECK_GT(outputWidth, 0); in prepare()
230 NN_RET_CHECK_GT(heightStride, 0); in prepare()
231 NN_RET_CHECK_GT(widthStride, 0); in prepare()
DFullyConnected.cpp214 NN_RET_CHECK_GT(num_units, 0); in prepare()
215 NN_RET_CHECK_GT(input_size, 0); in prepare()
DGenerateProposals.cpp210 NN_RET_CHECK_GT(numClasses, 0); in prepare()
211 NN_RET_CHECK_GT(numBatches, 0); in prepare()
692 NN_RET_CHECK_GT(numClasses, 1); in prepare()
1502 NN_RET_CHECK_GT(context->getInputValue<float>(kScaleYScalar), 0); in prepare()
1503 NN_RET_CHECK_GT(context->getInputValue<float>(kScaleXScalar), 0); in prepare()
1504 NN_RET_CHECK_GT(context->getInputValue<float>(kScaleHScalar), 0); in prepare()
1505 NN_RET_CHECK_GT(context->getInputValue<float>(kScaleWScalar), 0); in prepare()
1518 NN_RET_CHECK_GT(numClasses, 1); in prepare()
1520 NN_RET_CHECK_GT(maxNumDetections, 0); in prepare()
1522 NN_RET_CHECK_GT(context->getInputValue<int32_t>(kMaxNumDetectionPerClassScalar), 0); in prepare()
[all …]
DSoftmax.cpp260 NN_RET_CHECK_GT(beta, 0.0f); in prepare()
DBroadcast.cpp370 NN_RET_CHECK_GT(output.scale, input1.scale * input2.scale); in validate()
/frameworks/ml/nn/common/
DOperationsUtils.cpp382 NN_RET_CHECK_GT(effectiveFilterWidth, padding_left); in depthwiseConvPrepare()
383 NN_RET_CHECK_GT(effectiveFilterWidth, padding_right); in depthwiseConvPrepare()
384 NN_RET_CHECK_GT(effectiveFilterHeight, padding_top); in depthwiseConvPrepare()
385 NN_RET_CHECK_GT(effectiveFilterHeight, padding_bottom); in depthwiseConvPrepare()
896 NN_RET_CHECK_GT(static_cast<int32_t>(filterWidth), padding_left); in groupedConvPrepare()
897 NN_RET_CHECK_GT(static_cast<int32_t>(filterWidth), padding_right); in groupedConvPrepare()
898 NN_RET_CHECK_GT(static_cast<int32_t>(filterHeight), padding_top); in groupedConvPrepare()
899 NN_RET_CHECK_GT(static_cast<int32_t>(filterHeight), padding_bottom); in groupedConvPrepare()
DUtils.cpp377 NN_RET_CHECK_GT(channelQuant.scales[i], 0.0f) << tag << " invalid scaleArray[" << i << "]"; in validateOperandSymmPerChannelQuantParams()
391 NN_RET_CHECK_GT(type.scale, 0.f) << tag << " invalid scale"; in validateQuant8AsymmParams()
397 NN_RET_CHECK_GT(type.scale, 0.f) << tag << " invalid scale"; in validateQuant8SymmParams()
404 NN_RET_CHECK_GT(type.scale, 0.f) << tag << " invalid scale"; in validateQuant16AsymmParams()
410 NN_RET_CHECK_GT(type.scale, 0.f) << tag << " invalid scale"; in validateQuantSymmParams()
425 NN_RET_CHECK_GT(type.dimensionCount, 0u) << tag << " invalid operand dimensions"; in validateTensorDimensions()
DValidateHal.cpp117 NN_RET_CHECK_GT(channelQuant.scales[i], .0f) in validateOperandExtraParams()
/frameworks/ml/nn/common/include/
DUtils.h137 #define NN_RET_CHECK_GT(x, y) NN_RET_CHECK_OP(x, y, >) macro
/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp659 NN_RET_CHECK_GT(to->size(), toIndex); in updateOutputShapes()