Create a tensor of the given shape holding random values uniformly
distributed in [0, 1). Seed the random number generator with seed
immediately before generating it, inside solve: the seed is global, shared
state, so seeding it anywhere else (e.g. once at import time) will not
reliably reproduce the same numbers.
Input
shape = (3, 3, 3), seed = 0
solve(...)