Home
last modified time | relevance | path

Searched refs:hRoiStart (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/common/operations/
DRoiAlign.cpp100 T_Roi hRoiStart = roiInfo[1] * heightScale; in roiAlignNhwc() local
105 T_Roi roiHeight = std::max(static_cast<float>(hRoiEnd - hRoiStart), 1.0f); in roiAlignNhwc()
124 T_Roi hStart = hStepSize * i + hRoiStart; in roiAlignNhwc()
125 T_Roi hEnd = hStepSize * (i + 1) + hRoiStart; in roiAlignNhwc()
210 float hRoiStart = static_cast<float>(roiInfo[1]) * heightScale * 0.125f; in roiAlignQuantNhwc() local
221 NN_RET_CHECK(hRoiStart <= inHeight); in roiAlignQuantNhwc()
225 NN_RET_CHECK_LE(hRoiStart, hRoiEnd); in roiAlignQuantNhwc()
228 float roiHeight = std::max(hRoiEnd - hRoiStart, 1.0f); in roiAlignQuantNhwc()
253 float hStart = hStepSize * i + hRoiStart; in roiAlignQuantNhwc()
254 float hEnd = hStepSize * (i + 1) + hRoiStart; in roiAlignQuantNhwc()
DRoiPooling.cpp96 int32_t hRoiStart = std::round(static_cast<float>(roiInfo[1] * heightScale)); in roiPoolingNhwc() local
102 T_Roi roiHeight = static_cast<T_Roi>(std::max(hRoiEnd - hRoiStart + 1, 1)); in roiPoolingNhwc()
113 uint32_t hStart = std::floor(static_cast<float>(hStepSize * i + hRoiStart)); in roiPoolingNhwc()
114 uint32_t hEnd = std::ceil(static_cast<float>(hStepSize * (i + 1) + hRoiStart)); in roiPoolingNhwc()
DHeatmapMaxKeypoint.cpp146 float hRoiStart = boxInfoBase[1]; in heatmapMaxKeypointFloat32Nhwc() local
150 float roiHeight = hRoiEnd - hRoiStart; in heatmapMaxKeypointFloat32Nhwc()
157 outputKeypointBase[1] = hRelativePos * roiHeight + hRoiStart; in heatmapMaxKeypointFloat32Nhwc()