Lines Matching refs:inWidth

60     uint32_t inWidth = getSizeOfDimension(inputShape, 2);  in roiAlignNhwc()  local
82 NN_RET_CHECK(roiInfo[0] * widthScale <= inWidth); in roiAlignNhwc()
84 NN_RET_CHECK(roiInfo[2] * widthScale <= inWidth); in roiAlignNhwc()
109 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignNhwc()
135 if (x1 >= inWidth - 1) { in roiAlignNhwc()
136 x1 = x2 = inWidth - 1; in roiAlignNhwc()
146 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
147 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignNhwc()
148 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc()
149 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignNhwc()
187 uint32_t inWidth = getSizeOfDimension(inputShape, 2); in roiAlignQuantNhwc() local
210 NN_RET_CHECK(wRoiStart <= inWidth); in roiAlignQuantNhwc()
212 NN_RET_CHECK(wRoiEnd <= inWidth); in roiAlignQuantNhwc()
238 const T_Input* batchBase = inputData + batchId * inHeight * inWidth * inDepth; in roiAlignQuantNhwc()
261 if (x1 >= inWidth - 1) { in roiAlignQuantNhwc()
262 x1 = x2 = inWidth - 1; in roiAlignQuantNhwc()
272 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
273 y1 * inWidth * inDepth + x2 * inDepth, in roiAlignQuantNhwc()
274 y2 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc()
275 y2 * inWidth * inDepth + x2 * inDepth}; in roiAlignQuantNhwc()
342 uint32_t inWidth = getSizeOfDimension(input, useNchw ? 3 : 2); in prepare() local
348 NN_RET_CHECK_GT(inWidth, 0u); in prepare()