Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/
H A Dmain.cc171 int cur_hw = cur_h * w + cur_w; in NC1HWC2_int8_to_NCHW_int8() local
172 dst[c * hw_dst + cur_h * w + cur_w] = src_c[C2 * cur_hw + offset]; in NC1HWC2_int8_to_NCHW_int8()
201 int cur_hw = cur_h * w + cur_w; in NC1HWC2_int8_to_NCHW_float() local
202 … dst[c * hw_dst + cur_h * w + cur_w] = (src_c[C2 * cur_hw + offset] - zp) * scale; // int8-->float in NC1HWC2_int8_to_NCHW_float()
/OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_mobilenet_demo/src/
H A Dmain.cc235 int cur_hw = cur_h * w + cur_w; in NC1HWC2_int8_to_NCHW_float() local
236 … dst[c * hw_dst + cur_h * w + cur_w] = (src_c[C2 * cur_hw + offset] - zp) * scale; // int8-->float in NC1HWC2_int8_to_NCHW_float()