eagerpy

PyTorch, TensorFlow, JAX and NumPy — all of them natively using the same code

MIT License

Downloads
6.3K
Stars
695
Committers
7

Bot releases are hidden (Show)

eagerpy - Version 0.14.0

Published by jonasrauber over 4 years ago

New Features

  • added ep.utils.get_dummy
  • TensorFlowTensor.sum now automatically casts boolean to int (like PyTorchTensor and others)
  • other improvements and new tests
eagerpy - Version 0.13.0

Published by jonasrauber over 4 years ago

New Features

  • added __mod__
  • fixed ep.mean (was sum instead of mean)
  • reorganized the tests
  • completed our test suite to reach 100% test coverage
eagerpy - Version 0.12.0

Published by jonasrauber over 4 years ago

New Features

  • 99% test coverage
    • all tests rewritten from scratch
    • removed all framework-specific duplication
    • added nice helper functions
  • truely lazy imports of the different frameworks
  • added magic framework wrappers that automatically apply ep.astensor and preform lazy imports
    • ep.torch
    • ep.tensorflow
    • ep.numpy
    • ep.jax
  • added pow()
  • added log_softmax()
  • added kl_div_with_logits()
  • lots of bugfixes and improvements
eagerpy - Version 0.11.0

Published by jonasrauber almost 5 years ago

New Features

  • added support for automatic differentation of arbitrary functions that take and return EagerPy tensors
    • value_and_grad (function and method)
    • value_aux_and_grad (function and method)
    • value_and_grad_fn (function)
  • added crossentropy
  • improved the __repr__() shown for EagerPy tensors
  • other improvements and bug fixes
eagerpy - Version 0.10.0

Published by jonasrauber almost 5 years ago

New Features

  • added __format__ support to tensors
  • added full
  • added full_like
  • added arange
  • added index_update
  • added cumsum
  • added newaxis
  • added flip
  • added meshgrid
  • added pad
  • added nan
  • added inf
  • added isnan
  • added isinf

Plus: Lot's of bug fixes and improvements.

eagerpy - Version 0.9.0

Published by jonasrauber almost 5 years ago

New Features

  • added softmax
  • added stack
  • added squeeze and expand_dims
eagerpy - Version 0.8.0

Published by jonasrauber almost 5 years ago

New Features

  • added where
  • added tile
  • added matmul
  • added logical_not
eagerpy - Version 0.7.0

Published by jonasrauber almost 5 years ago

New Features

  • added exp, log, log2, log10, log1p
  • bug fixes
eagerpy - Version 0.6.0

Published by jonasrauber almost 5 years ago

New Features

  • added bool()
  • added all() and any()
  • added logical_and() and logical_or()
eagerpy - Version 0.5.0

Published by jonasrauber almost 5 years ago

New Features

  • added support for concatenate
  • added support for transpose
  • fixed abs
  • other bug fixes
eagerpy - Version 0.4.0

Published by jonasrauber almost 5 years ago

New Features

  • added support for onehot_like, from_numpy, ones, zeros, ones_like, zeros_like, __rsub__
  • improved __getitem__ support for TensorFlow (to match PyTorch and JAX)
  • lot's of bugfixes
  • astensor can now handle JAX arrays
eagerpy - Version 0.3.0

Published by jonasrauber almost 5 years ago

New Features

  • Support for JAX 0.1.48 (JAXTensor)
  • support for Tensor.item()
  • support for Tensor.float32()
  • support for Tensor.__bool__()
  • new istensor() function
  • and lot's of bugfixes
eagerpy - Version 0.2.0

Published by jonasrauber almost 5 years ago

New Features

  • eagerpy.astensor() that automatically wraps it's input using the appropriate EagerPy tensor
eagerpy - Version 0.1.0

Published by jonasrauber almost 5 years ago

Supported Frameworks

  • PyTorch 1.3.0 (PyTorchTensor)
  • TensorFlow 2.0.0 (TensorFlowTensor)
  • NumPy 1.17.3 (NumPyTensor)
Package Rankings
Top 3.88% on Pypi.org
Top 25.85% on Conda-forge.org