def hwc2chw(hwc):
    """Change the format of `hwc` from `(height, width, channels)` to `(channels, height, width)`

    Args:
        hwc (furry.Tensor): An image tensor with format `(height, width, channels)`.
    
    Returns:
        furry.Tensor: An image tensor with format `(channels, height, width)`.
    """
    return hwc.permute(2, 0, 1)