View image tensor as real channel-packed tensor.
Converts a complex image tensor of shape (B, C, *XYZ) to a real-valued
tensor of shape (B, 2C, *XYZ) by moving the real/imaginary parts into
the channel dimension.
- Parameters:
x (torch.Tensor) – Complex image tensor of shape (B, C, *XYZ).
- Returns:
Real-valued channel-packed tensor of shape (B, 2C, *XYZ).
- Return type:
torch.Tensor