keras-core

A multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch.

APACHE-2.0 License

Downloads
89.9K
Stars
1.3K
Committers
55

Bot releases are visible (Hide)

keras-core - Keras Core 0.1.7 release Latest Release

Published by fchollet about 1 year ago

Highlights

  • Add ops keras.random.shuffle, keras.ops.image.map_coordinates
  • Add support for tf.SparseTensor with TensorFlow backend (same level of support as legacy tf.keras)
  • Make Discretization layer backend agnostic
  • Bug fixes and performance improvements (in particular significantly reduced memory usage during training for JAX)

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.6...v0.1.7

keras-core - Keras Core 0.1.6 release

Published by fchollet about 1 year ago

Highlights

  • Performance optimizations in normalization layers
  • New op: ops.nn.moments
  • Add TorchModuleWrapper to make it possible to use PyTorch Modules in Keras Core models with the PyTorch backend. Modules added as attributes of a layer are automatically wrapped (so that their weights are tracked).
  • Add ignore_class argument in SparseCategoricalCrossentropy.
  • Add new experimental data parallel and model parallel distribution API for JAX.

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.5...v0.1.6

keras-core - Keras Core 0.1.5 release

Published by fchollet about 1 year ago

Highlights

  • Add model.export() flow.
  • Add ops rsqrt, extract_sequences, rfft, stft, irfft, istft.
  • Bug fixes and performance improvements.
  • ops.shape now returns a tuple with all backends (rather than a TF tensor with the TF backend). The tuple may contain scalar tensors for dynamic dimensions, and contains integers otherwise for static dimensions.

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.4...v0.1.5

keras-core - Keras Core 0.1.4 release

Published by fchollet about 1 year ago

Highlights

  • Add Lion optimizer
  • Enable model.predict() and model.evaluate() with the NumPy backend
  • Add ops cosh, sinh, arctanh, arcsinh, arccosh
  • Add ops segment_max, digitize
  • Bug fixes and performance improvements

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.3...v0.1.4

keras-core - Keras Core 0.1.3 release

Published by fchollet about 1 year ago

Highlights

  • Add compatibility with legacy whole-model h5 saving and loading
  • Add keras_core.ops.fft and keras_core.ops.fft2
  • Add keras_core.ops.image.affine_transform
  • Add keras_core.ops.image.extract_patches
  • Bug fixes and performance improvements
  • Now compatible with TensorFlow versions 2.8 to 2.13

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.2...v0.1.3

keras-core - Keras Core 0.1.2 release

Published by fchollet over 1 year ago

Bug fixes and performance improvements.

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.1...v0.1.2

keras-core - Keras Core 0.1.1 release

Published by fchollet over 1 year ago

Highlights

  • TensorFlow dependency removed: it is now possible to use Keras Core with JAX or PyTorch without installing TensorFlow.
  • Significant performance improvements for Keras optimizers with PyTorch eager execution. Keras optimizers with the PyTorch backend are now at performance parity with native PyTorch optimizers.
  • Added the NumPy backend. Note that it does not support training. You can use it to create and call models / layers, write custom evaluation loops, etc.

What's Changed

New Contributors

Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.0...v0.1.1

keras-core - Keras Core 0.1.0 release

Published by fchollet over 1 year ago

Initial preview release. See the announcement post for details on capabilities, credits, etc.