def __init__(self, depth_mode: str = "linear"):
        """
        :param depth_mode: linear samples ts linearly in depth. harmonic ensures
            closer points are sampled more densely.
        """
        self.depth_mode = depth_mode
        assert self.depth_mode in ("linear", "geometric", "harmonic")

        :param depth_mode: linear samples ts linearly in depth. harmonic ensures
            closer points are sampled more densely.
        
src/diffusers/pipelines/shap_e/renderer.py