'returns the kernel weight for the independent multivariate kernel'

def _kernweight(self, x):

    if isinstance(self._kernels, CustomKernel):
        x = np.asarray(x)
        d = (x * x).sum((-1))
        return self._kernels(np.asarray(d))
