/frameworks/ml/nn/common/operations/ |
D | Pooling.cpp | 83 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 …]
|
D | ResizeImageOps.cpp | 156 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()
|
D | Conv2D.cpp | 110 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 …]
|
D | TransposeConv2D.cpp | 93 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()
|
D | RoiAlign.cpp | 381 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()
|
D | RoiPooling.cpp | 228 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()
|
D | FullyConnected.cpp | 214 NN_RET_CHECK_GT(num_units, 0); in prepare() 215 NN_RET_CHECK_GT(input_size, 0); in prepare()
|
D | GenerateProposals.cpp | 210 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 …]
|
D | Softmax.cpp | 260 NN_RET_CHECK_GT(beta, 0.0f); in prepare()
|
D | Broadcast.cpp | 370 NN_RET_CHECK_GT(output.scale, input1.scale * input2.scale); in validate()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 382 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()
|
D | Utils.cpp | 377 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()
|
D | ValidateHal.cpp | 117 NN_RET_CHECK_GT(channelQuant.scales[i], .0f) in validateOperandExtraParams()
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 137 #define NN_RET_CHECK_GT(x, y) NN_RET_CHECK_OP(x, y, >) macro
|
/frameworks/ml/nn/runtime/ |
D | ExecutionBuilder.cpp | 659 NN_RET_CHECK_GT(to->size(), toIndex); in updateOutputShapes()
|