Tensor repeat for image patches
I have a batch of 20 flattened tensors representing 256X256 images. >>> imgs.shape (20, 65536) Each image was split into 32×32 patches (a total of 64 patches per image). I have calculated a score for each patch and got a vector with the shape of (20,64) I would like to multiply each pixel with the… Read More Tensor repeat for image patches