Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@lucascolley lucascolley released this 03 Jun 15:47
· 9 commits to main since this release
d073b7e

Highlights

  • xpx.testing.lazy_xp_function with jax_jit=True now handles functions which accept and return arbitrary wrappers around JAX arrays, by treating all arguments and return types that are not JAX arrays as static.
    • the static_argnums and static_argnames parameters are deprecated in favour of this.
  • xpx.one_hot: new function to create one-hot vector arrays
  • xpx.default_dtype: a convenience function for common queries to xp.__array_namespace_info__().default_dtypes()
  • support for PyTorch device='meta'

Progress has also been made towards exposing functions like assert_equal under xpx.testing, but this API is still private for now.

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.8.0