I’m not sure if I fully understand your use case, but would you like to create windows or patches from a larger image?
E.g. given an input image of [channels=3, height=224, width=224]
, would you like to create multiple smaller patches in e.g. [channels=3, height=12, width=12]
using a sliding window approach?
If so, then you should use tensor.unfold
to create these patches.
Here is an example.