Return an 8×8 integer tensor with a checkerboard of 0s and 1s (top-left is 0).
Output
tensor([[0, 1, 0, ..., 1, 0, 1],
[1, 0, 1, ..., 0, 1, 0],
[0, 1, 0, ..., 1, 0, 1],
...,
[1, 0, 1, ..., 0, 1, 0],
[0, 1, 0, ..., 1, 0, 1],
[1, 0, 1, ..., 0, 1, 0]])
Sign in to write and run your own code.
solve(...)