Contents
DynamicLinear
Tutorials
Reshape a vectorized tensor to the measurement shape (heigth, width).
input (torch.tensor): A tensor of shape (*, N) where * denotes the batch size and \(N = hw\) is the total number of pixels in the image.
torch.tensor: A tensor of shape (*, h, w) where * denotes the batch size and h, w the height and width of the image.