View real channel-packed image tensor as complex.
Converts a real-valued tensor of shape (B, 2C, *XYZ) back to a complex
tensor of shape (B, C, *XYZ).
- Parameters:
x (torch.Tensor) – Real-valued channel-packed tensor of shape (B, 2C, *XYZ).
- Returns:
Complex tensor of shape (B, C, *XYZ).
- Return type:
torch.Tensor