def METHOD_NAME(self, d: int) -> Tensor:
    assert d % 2 == 1
    extent = self.extent * (d - 1) / (self.D - 1)
    x0, x1 = np.meshgrid(
        np.linspace(-extent, extent, d, endpoint=True),
        np.linspace(-extent, extent, d, endpoint=True),
    )
    coords = np.stack([x0.ravel(), x1.ravel(), np.zeros(d**2)], 1).astype(
        np.float32
    )
    return torch.tensor(coords, device=self.device)