@Cache_this(limit=3, ignore_args=())
    def _scaled_dist(self, X, X2=None):
        if self.ARD:
            if X2 is not None:
                X2 = X2 / self.lengthscale
            return self._unscaled_dist(X/self.lengthscale, X2)
        else:
            return self._unscaled_dist(X, X2)/self.lengthscale
Efficiently compute the scaled distance, r.
dataset/ETHPy150Open SheffieldML/GPy/GPy/kern/src/stationary.py/Stationary._scaled_dist