autoray

Abstract your array operations.

APACHE-2.0 License

Downloads
234.1K
Stars
133
Committers
5
autoray - v0.6.12 Latest Release

Published by jcmgray 5 months ago

  • add torch.indices and tensorflow.indices

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.11...v0.6.12

autoray - v0.6.11

Published by jcmgray 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.10...v0.6.11

autoray - v0.6.10

Published by jcmgray 6 months ago

What's Changed

  • The following functions now inherit default dtype and possibly device (when using torch) when the like kwarg is an explicit array:
    • "empty"
    • "eye"
    • "full"
    • "identity"
    • "ones"
    • "zeros"
  • fix NumpyMimic special attribute access (#20) by @jcmgray in https://github.com/jcmgray/autoray/pull/21
  • fix "diag" for tensorflow.

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.9...v0.6.10

autoray - v0.6.9

Published by jcmgray 8 months ago

  • autojit: fix jax when kwargs are used
  • autojit: simplify torch and python compiler
  • torch: alias min/max to amin/amax

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.8...v0.6.9

autoray - v0.6.8

Published by jcmgray 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.7...v0.6.8

autoray - v0.6.7

Published by jcmgray about 1 year ago

  • lazy.einsum: allow cotengra or opt_einsum for advanced parsing, fall back to basic when neither present
  • add torch.expand_dims.

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.6...v0.6.7

autoray - v0.6.6

Published by jcmgray about 1 year ago

  • autoray.lazy: allow more functions to work on pytrees.
  • Fix importlib import error and update tensorflow CI

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.5...v0.6.6

autoray - v0.6.5

Published by jcmgray about 1 year ago

  • add multi-dispatch for a few more relevant functions
  • change plot_history_functions default style to scatter
  • ensure composed function names are kept

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.4...v0.6.5

autoray - v0.6.4

Published by jcmgray about 1 year ago

What's Changed

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.3...v0.6.4

autoray - v0.6.3

Published by jcmgray over 1 year ago

What's changed

  • autoray.lazy.compute: allow computing multiple outputs simultaneously
  • autoray.lazy.Function allow pickling and viewing of uncompiled source

Fixes

  • make sure shape and ndim work for builtins similarly to numpy.{shape,ndim}

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.2...v0.6.3

autoray - v0.6.1

Published by jcmgray over 1 year ago

What's Changed

Fixes

  • LazyArray: fix negative axis reductions
  • fix fancy indexing of LazyArray objects

New Contributors

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.6.0...v0.6.1

autoray - v0.6.0

Published by jcmgray over 1 year ago

autoray.lazy: Much better tools for inspecting the computational graph:

  • LazyArray.show()
  • LazyArray.plot_circuit()
  • LazyArray.plot_history_functions() and variants
  • LazyArray.history_fn_frequencies

Global submodule aliases:

  • enables e.g. dispatching do("scipy.linalg.lu", x: numpy.ndarray) and cupy.scipy to cupyx.scipy

Fix for complex and builtins and newer numpy (#11).

Full Changelog: https://github.com/jcmgray/autoray/compare/v0.5.3...v0.6.0

autoray - v0.5.3

Published by jcmgray almost 2 years ago

  • add lazy.diag
  • update infrastructure, including moving from versioneer to setuptools_scm
Package Rankings
Top 4.31% on Pypi.org
Top 19.0% on Spack.io
Top 29.32% on Conda-forge.org
Badges
Extracted from project README
tests codecov Codacy Badge Docs PyPI Anaconda-Server Badge