Searched refs:heightScale (Results 1 – 5 of 5) sorted by relevance
65 const T_Roi heightScale = 1.0f / heightStride; in roiAlignNhwc() local93 NN_RET_CHECK(roiInfo[1] * heightScale <= inHeight); in roiAlignNhwc()95 NN_RET_CHECK(roiInfo[3] * heightScale <= inHeight); in roiAlignNhwc()100 T_Roi hRoiStart = roiInfo[1] * heightScale; in roiAlignNhwc()102 T_Roi hRoiEnd = roiInfo[3] * heightScale; in roiAlignNhwc()192 const float heightScale = 1.0f / heightStride; in roiAlignQuantNhwc() local210 float hRoiStart = static_cast<float>(roiInfo[1]) * heightScale * 0.125f; in roiAlignQuantNhwc()212 float hRoiEnd = static_cast<float>(roiInfo[3]) * heightScale * 0.125f; in roiAlignQuantNhwc()409 float heightScale, widthScale; in prepare() local411 heightScale = context->getInputValue<_Float16>(kHeightStrideSalar); in prepare()[all …]
61 const T_Roi heightScale = 1.0f / heightStride; in roiPoolingNhwc() local89 NN_RET_CHECK(roiInfo[1] * heightScale <= inHeight); in roiPoolingNhwc()91 NN_RET_CHECK(roiInfo[3] * heightScale <= inHeight); in roiPoolingNhwc()96 int32_t hRoiStart = std::round(static_cast<float>(roiInfo[1] * heightScale)); in roiPoolingNhwc()98 int32_t hRoiEnd = std::round(static_cast<float>(roiInfo[3] * heightScale)); in roiPoolingNhwc()
75 const float heightScale = calculateResizeScale(inHeight, outHeight, alignCorners); in resizeNearestNeighbor() local83 int inY = std::min((alignCorners) ? static_cast<int>(roundf(scaler(y, heightScale))) in resizeNearestNeighbor()84 : static_cast<int>(floorf(scaler(y, heightScale))), in resizeNearestNeighbor()
595 float heightScale = maxSizeF / bmp.getHeight(); in scaleBitmap() local596 float scale = Math.min(widthScale, heightScale); in scaleBitmap()
934 float heightScale = maxSizeF / bmp.getHeight(); in scaleBitmap() local935 float scale = Math.min(widthScale, heightScale); in scaleBitmap()