Closed ZongHong-Lyu closed 5 years ago
From Christer:
The input_circular_offset is used in 3D convolution so the input is a circular buffer,
which only replace the oldest frame, the offset which frame is the first frame.
And the MSB of this register is used to tell if the image is transposed or not.
If MSB is set, the input image and output images are not transposed.
But then the weight itself needs to be transposed.
Also the way to calculate tiles need to swap width and height.
I think since setting the MSB of input_circular_offset
needs to modify too many codes,
which scatter in tool, user space driver, and kernel driver.
It is better to not touch this bit, but just has a flag in tool to transpose weights and swap width and height for non-transposed output.
In email from steven:
And the follow up: