Lines Matching refs:heightScale
65 const T_Roi heightScale = 1.0f / heightStride; in roiAlignNhwc() local
93 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() local
210 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() local
411 heightScale = context->getInputValue<_Float16>(kHeightStrideSalar); in prepare()
414 heightScale = context->getInputValue<float>(kHeightStrideSalar); in prepare()
419 NN_RET_CHECK_GT(heightScale, 0); in prepare()