image_as_cpx# mrinufft.operators.autodiff.image_as_cpx(x)[source]# 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 Example using image_as_cpx:# Model-based iterative reconstruction Model-based iterative reconstruction