Lines Matching refs:widthScale
56 const T_Roi widthScale = 1.0f / widthStride; in roiAlignNhwc() local
82 NN_RET_CHECK(roiInfo[0] * widthScale <= inWidth); in roiAlignNhwc()
84 NN_RET_CHECK(roiInfo[2] * widthScale <= inWidth); in roiAlignNhwc()
89 T_Roi wRoiStart = roiInfo[0] * widthScale; in roiAlignNhwc()
91 T_Roi wRoiEnd = roiInfo[2] * widthScale; in roiAlignNhwc()
183 const float widthScale = 1.0f / widthStride; in roiAlignQuantNhwc() local
199 float wRoiStart = static_cast<float>(roiInfo[0]) * widthScale * 0.125f; in roiAlignQuantNhwc()
201 float wRoiEnd = static_cast<float>(roiInfo[2]) * widthScale * 0.125f; in roiAlignQuantNhwc()
357 float heightScale, widthScale; in prepare() local
360 widthScale = context->getInputValue<_Float16>(kWidthStrideScalar); in prepare()
363 widthScale = context->getInputValue<float>(kWidthStrideScalar); in prepare()
368 NN_RET_CHECK_GT(widthScale, 0); in prepare()