Lines Matching refs:widthScale
68 const T_Roi widthScale = 1.0f / widthStride; in roiAlignNhwc() local
94 NN_RET_CHECK(roiInfo[0] * widthScale <= inWidth); in roiAlignNhwc()
96 NN_RET_CHECK(roiInfo[2] * widthScale <= inWidth); in roiAlignNhwc()
101 T_Roi wRoiStart = roiInfo[0] * widthScale; in roiAlignNhwc()
103 T_Roi wRoiEnd = roiInfo[2] * widthScale; in roiAlignNhwc()
195 const float widthScale = 1.0f / widthStride; in roiAlignQuantNhwc() local
211 float wRoiStart = static_cast<float>(roiInfo[0]) * widthScale * 0.125f; in roiAlignQuantNhwc()
213 float wRoiEnd = static_cast<float>(roiInfo[2]) * widthScale * 0.125f; in roiAlignQuantNhwc()
412 float heightScale, widthScale; in prepare() local
415 widthScale = context->getInputValue<_Float16>(kWidthStrideScalar); in prepare()
418 widthScale = context->getInputValue<float>(kWidthStrideScalar); in prepare()
423 NN_RET_CHECK_GT(widthScale, 0); in prepare()