def undo_rescale_voxel_tensor(rescaled_voxel_tensor):
    """Takes a voxel tensor with values in [-1, 1] and rescales them to [0, 1].

    Args:
        rescaled_voxel_tensor: A single voxel tensor after rescaling (values in [-1, 1]).

    Returns:
        voxel_tensor: A single voxel tensor with values in [0, 1].
    """
    unscaled_voxel_tensor = (rescaled_voxel_tensor + 1.) / 2.
    return unscaled_voxel_tensor