Lines Matching refs:inWidth

70     uint32_t inWidth = getSizeOfDimension(inputShape, 2);  in roiAlignNhwc()  local
92 NN_RET_CHECK(roiInfo[0] * widthScale <= inWidth); in roiAlignNhwc()
94 NN_RET_CHECK(roiInfo[2] * widthScale <= inWidth); in roiAlignNhwc()
119 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignNhwc()
145 if (x1 >= inWidth - 1) { in roiAlignNhwc()
146 x1 = x2 = inWidth - 1; in roiAlignNhwc()
156 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
157 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()
158 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
159 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignNhwc()
197 uint32_t inWidth = getSizeOfDimension(inputShape, 2); in roiAlignQuantNhwc() local
220 NN_RET_CHECK(wRoiStart <= inWidth); in roiAlignQuantNhwc()
222 NN_RET_CHECK(wRoiEnd <= inWidth); in roiAlignQuantNhwc()
248 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignQuantNhwc()
271 if (x1 >= inWidth - 1) { in roiAlignQuantNhwc()
272 x1 = x2 = inWidth - 1; in roiAlignQuantNhwc()
282 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
283 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignQuantNhwc()
284 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
285 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignQuantNhwc()
394 uint32_t inWidth = getSizeOfDimension(input, useNchw ? 3 : 2); in prepare() local
400 NN_RET_CHECK_GT(inWidth, 0); in prepare()