nami_toys.checkerboard# Classes Checkerboard([cells, bound]) Uniform density on the "on" cells of a 2-D checkerboard. class nami_toys.checkerboard.Checkerboard(cells=4, bound=2.0)[source]# Bases: object Uniform density on the “on” cells of a 2-D checkerboard. Parameters: cells (int) – Number of cells per side (total grid is cells x cells). bound (float) – The grid spans [-bound, bound] along each axis. bound: float = 2.0# cells: int = 4# generate(n, *, generator=None)[source]# Draw n samples uniformly from the filled squares. Return type: ToyDataset Parameters: n (int) generator (Generator | None)