Hi,
When running
tensor = Nx.random_uniform({1_000_000})
There’s a warning message warning: Nx.random_uniform/1 is deprecated. Use Nx.Random.uniform/2 instead
I think it can be replaced with:
key = Nx.Random.key(1701)
{tensor, _new_key} = Nx.Random.uniform(key, shape: {1_000_000})
Best,
Emilio