Skip to content

Releases: rsokl/MyGrad

Release v2.3.0

08 Sep 17:57
Compare
Choose a tag to compare
  • Adds support for NumPy 2.0
  • Minimum supported NumPy version is now 1.24
  • Minimum supported Python version is now 3.9
  • Adds testing for Python 3.12
  • Adopts PyPI Trusted Publishers method for releasing new versions -- for improved security.

Release v2.2.0

03 Jan 22:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

Release MyGrad 2.1.0

01 Jan 21:25
Compare
Choose a tag to compare

See detailed changelog here.

What's Changed

  • update docs dependencies, fix deprecated css, fix doc typo by @rsokl in #376
  • Use faster dict-construction syntax by @rsokl in #377
  • Update default behavior of derivative of linalg.norm and abs at x=0 by @rsokl in #379
  • add nightly tests against pre-releases by @rsokl in #380
  • Adds mygrad.save and mygrad.load by @rsokl in #383
  • accommodates hypothesis #3065 by @rsokl in #385
  • remove bad example from docs; improve type annotations by @rsokl in #386
  • Implement atleast_kd by @rsokl in #387
  • Update test_duplicating_graph.py by @rsokl in #388
  • test should not pass None to array(..., copy=<>) by @rsokl in #390
  • fix broadcasting hack by @rsokl in #391
  • NEP 29: min numpy is now 1.19 by @rsokl in #394
  • add Tensor.index method by @rsokl in #395
  • Implement clip(..., out=) by @rsokl in #396
  • Docs for 2.1.0 by @rsokl in #397

Full Changelog: v2.0.2...v2.1.0

Release MyGrad 2.0.2

11 Apr 01:47
Compare
Choose a tag to compare

Release MyGrad 2.0.1

04 Apr 15:43
Compare
Choose a tag to compare

Release MyGrad 2.0.0

31 Mar 03:02
Compare
Choose a tag to compare

Official release of MyGrad 2.0! 🎉🎉🎉

See the changelog for all of the details!

Release MyGrad 2.0.0.dev4

08 Mar 03:37
bd3f7ee
Compare
Choose a tag to compare

Adds convenient overrides and mirrors to non-differentiable numpy functions and (non-complex) dtypes.

  • allclose
  • bincount
  • can_cast
  • copyto
  • may_share_memory
  • min_scalar_type
  • result_type
  • shares_memory
  • shape

Release MyGrad 2.0.0.dev3

05 Mar 18:31
7d312bd
Compare
Choose a tag to compare

Implements Tensor.__array_function__.

Common numpy functions now have "drop-in" autodiff, when they operate on a tensor:

>>> x = mg.tensor([2., -1., 0.])
>>> numpy.einsum("i,i", x, x).backward()
>>> x.grad
array([ 4., -2.,  0.])

Add ufunc overrides

05 Mar 00:35
9188f3f
Compare
Choose a tag to compare

Implements __array_ufunc__ to override/dispatch NumPy ufuncs via mygrad.Tensor

Release MyGrad 2.0.0.dev1

03 Mar 18:38
419bec5
Compare
Choose a tag to compare

A pre-release of MyGrad 2.0.0