Does anyone know how to get the NxNx12 from the input image - is it just using reshape function or is there any other function that can be used Submitted by Actual-Performer-832 t3_zgwav2 on December 9, 2022 at 12:40 PM in deeplearning 7 comments 5
saw79 t1_izjv9wa wrote on December 9, 2022 at 5:18 PM Sometimes that beautiful one-liner just isn't worth it compared to something like torch.cat(( img[:N, :N], img[N:, :N], img[:N, N:], img[N:, N:], ), dim=-1) Permalink 3
Viewing a single comment thread. View all comments