def resize_image(self, width: int, height: int) -> "DifferentiableCamera":
        """
        Creates a new camera with the same intrinsics and direction as this one,
        but with resized image dimensions.
        """

        Creates a new camera with the same intrinsics and direction as this one,
        but with resized image dimensions.
        
shap_e/models/nn/camera.py