Searched refs:inHeight (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | RoiAlign.cpp | 59 uint32_t inHeight = getSizeOfDimension(inputShape, 1); in roiAlignNhwc() local 83 NN_RET_CHECK(roiInfo[1] * heightScale <= inHeight); in roiAlignNhwc() 85 NN_RET_CHECK(roiInfo[3] * heightScale <= inHeight); in roiAlignNhwc() 109 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignNhwc() 139 if (y1 >= inHeight - 1) { in roiAlignNhwc() 140 y1 = y2 = inHeight - 1; in roiAlignNhwc() 186 uint32_t inHeight = getSizeOfDimension(inputShape, 1); in roiAlignQuantNhwc() local 211 NN_RET_CHECK(hRoiStart <= inHeight); in roiAlignQuantNhwc() 213 NN_RET_CHECK(hRoiEnd <= inHeight); in roiAlignQuantNhwc() 238 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignQuantNhwc() [all …]
|
D | ResizeImageOps.cpp | 64 const int inHeight = getSizeOfDimension(inputShape, 1); in resizeNearestNeighbor() local 70 const float heightScale = calculateResizeScale(inHeight, outHeight, alignCorners); in resizeNearestNeighbor() 80 inHeight - 1); in resizeNearestNeighbor() 91 std::copy_n(inputData + b * inHeight * inWidth * channels + in resizeNearestNeighbor() 181 uint32_t inHeight = getSizeOfDimension(input, useNchw ? 2 : 1); in prepare() local 184 NN_RET_CHECK_GT(inHeight, 0u); in prepare() 194 height = std::floor(static_cast<float>(inHeight) * in prepare() 200 static_cast<float>(inHeight) * in prepare()
|
D | RoiPooling.cpp | 53 uint32_t inHeight = getSizeOfDimension(inputShape, 1); in roiPoolingNhwc() local 77 NN_RET_CHECK(roiInfo[1] * heightScale <= inHeight); in roiPoolingNhwc() 79 NN_RET_CHECK(roiInfo[3] * heightScale <= inHeight); in roiPoolingNhwc() 94 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiPoolingNhwc() 106 hStart = std::min(hStart, inHeight); in roiPoolingNhwc() 107 hEnd = std::min(hEnd, inHeight); in roiPoolingNhwc() 187 [[maybe_unused]] uint32_t inHeight = getSizeOfDimension(input, useNchw ? 2 : 1); in prepare() local
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationsExecutionUtils.h | 163 inline PaddingScheme getPaddingScheme(int32_t inWidth, int32_t inHeight, int32_t strideWidth, in getPaddingScheme() argument 177 calculateExplicitPadding(inHeight, strideHeight, filterHeight, kPaddingSame, in getPaddingScheme()
|