Create a 3×3×3 tensor of random values uniformly distributed in [0, 1).
For reproducibility, seed the random number generator with 0 immediately before
generating it, inside solve: the seed is global, shared state, so seeding it
anywhere else (e.g. once at import time) won't reliably reproduce the same numbers.
Sign in to write and run your own code.
solve(...)