Open
Description
It might be possible to use Beaver to parse StableHLO modules into an Elixir data structure, and convert that into the equivalent Nx.Defn.Expr.
This should allow us to operate on PyTorch and Jax exports not only to execute them through Nx, but for grad and, in the future, sharding.
Note: the first draft for this feature can be worked in this repository, but most likely it can be generally implemented in a separate library.