606 unmodified lines607608609610610611612613606 unmodified lines if x.shape[1] == 1: upsample = upsample.squeeze(-1) print(f"Upsampled shape: {upsample.shape}") #print(f"Upsampled shape: {upsample.shape}") return upsample