Home
last modified time | relevance | path

Searched refs:hStepSize (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DRoiAlign.cpp97 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiAlignNhwc() local
104 : std::ceil(static_cast<float>(hStepSize)); in roiAlignNhwc()
107 T_Roi hBinSize = hStepSize / static_cast<T_Roi>(hSamplingRatio); in roiAlignNhwc()
114 T_Roi hStart = hStepSize * i + hRoiStart; in roiAlignNhwc()
115 [[maybe_unused]] T_Roi hEnd = hStepSize * (i + 1) + hRoiStart; in roiAlignNhwc()
220 float hStepSize = roiHeight / static_cast<float>(outHeight); in roiAlignQuantNhwc() local
226 heightSamplingRatio > 0 ? heightSamplingRatio : std::ceil(hStepSize); in roiAlignQuantNhwc()
229 float hBinSize = hStepSize / static_cast<float>(hSamplingRatio); in roiAlignQuantNhwc()
243 float hStart = hStepSize * i + hRoiStart; in roiAlignQuantNhwc()
244 [[maybe_unused]] float hEnd = hStepSize * (i + 1) + hRoiStart; in roiAlignQuantNhwc()
DRoiPooling.cpp92 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiPoolingNhwc() local
101 uint32_t hStart = std::floor(static_cast<float>(hStepSize * i + hRoiStart)); in roiPoolingNhwc()
102 uint32_t hEnd = std::ceil(static_cast<float>(hStepSize * (i + 1) + hRoiStart)); in roiPoolingNhwc()