Keras

Latest version: v3.3.3

Safety actively analyzes 621924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

3.3.3

This is a minor bugfix release.

3.3.2

This is a simple fix release that re-surfaces legacy Keras 2 APIs that aren't part of Keras package proper, but that are still featured in `tf.keras`. No other content has changed.

3.3.1

This is a simple fix release that moves the legacy `_tf_keras` API directory to the root of the Keras pip package. This is done in order to preserve import paths like `from tensorflow.keras import layers` without making any changes to the TensorFlow API files.

No other content has changed.

3.3.0

What's Changed

* Introduce float8 training.
* Add LoRA to ConvND layers.
* Add `keras.ops.ctc_decode` for JAX and TensorFlow.
* Add `keras.ops.vectorize`, `keras.ops.select`.
* Add `keras.ops.image.rgb_to_grayscale`.
* Add `keras.losses.Tversky` loss.
* Add full `bincount` and `digitize` sparse support.
* Models and layers now return owned metrics recursively.
* Add pickling support for Keras models. Note that pickling is not recommended, prefer using Keras saving APIs.
* Bug fixes and performance improvements.

In addition, the codebase structure has evolved:

- All source files are now in `keras/src/`.
- All API files are now in `keras/api/`.
- The codebase structure stays unchanged when building the Keras pip package. This means you can `pip install` Keras directly from the GitHub sources.

New Contributors

* kapoor1992 made their first contribution in https://github.com/keras-team/keras/pull/19484
* IMvision12 made their first contribution in https://github.com/keras-team/keras/pull/19393
* alanwilter made their first contribution in https://github.com/keras-team/keras/pull/19438
* chococigar made their first contribution in https://github.com/keras-team/keras/pull/19323
* LukeWood made their first contribution in https://github.com/keras-team/keras/pull/19555
* AlexanderLavelle made their first contribution in https://github.com/keras-team/keras/pull/19575

**Full Changelog**: https://github.com/keras-team/keras/compare/v3.2.1...v3.3.0

3.2.1

What's Changed

This is a minor bugfix release.


**Full Changelog**: https://github.com/keras-team/keras/compare/v3.2.0...v3.2.1

3.2.0

What changed
- Introduce QLoRA-like technique for LoRA fine-tuning of `Dense` and `EinsumDense` layers (thereby any LLM) in int8 precision.
- Extend `keras.ops.custom_gradient` support to PyTorch.
- Add `keras.layers.JaxLayer` and `keras.layers.FlaxLayer` to wrap JAX/Flax modules as Keras layers.
- Allow `save_model` & `load_model` to accept a file-like object.
- Add quantization support to the `Embedding` layer.
- Make it possible to update metrics inside a custom `compute_loss` method with all backends.
- Make it possible to access `self.losses` inside a custom `compute_loss` method with the JAX backend.
- Add `keras.losses.Dice` loss.
- Add `keras.ops.correlate`.
- Make it possible to use cuDNN LSTM & GRU with a mask with the TensorFlow backend.
- Better JAX support in `model.export()`: add support for aliases, finer control over `jax2tf` options, and dynamic batch shapes.
- Bug fixes and performance improvements.

New Contributors
* abhaskumarsinha made their first contribution in https://github.com/keras-team/keras/pull/19302
* qaqland made their first contribution in https://github.com/keras-team/keras/pull/19378
* tvogel made their first contribution in https://github.com/keras-team/keras/pull/19310
* lpizzinidev made their first contribution in https://github.com/keras-team/keras/pull/19409
* Murhaf made their first contribution in https://github.com/keras-team/keras/pull/19444

**Full Changelog**: https://github.com/keras-team/keras/compare/v3.1.1...v3.2.0

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.