Go to file
Matt Watson ea98b39996 Store trainable and dtype on a layer persistently (#283)
This is something tf.keras will do.

I'm not totally sure about dtype, we could only save it if it diverges
from the global policy. But when it is explicitly set on the layer, it
is probably important to persist.
2023-06-06 21:12:46 -07:00
benchmarks Optimize the way to convert array data into Tf dataset during training (#267) 2023-06-05 18:41:35 -07:00
examples Extensive refactor of tracking logic. 2023-06-05 18:39:26 -07:00
integration_tests temporary implementation for compute_output_spec (#186) 2023-06-05 16:49:21 -07:00
keras_core Store trainable and dtype on a layer persistently (#283) 2023-06-06 21:12:46 -07:00
shell Add benchmark for layers (#231) 2023-05-31 21:46:39 -07:00
.gitignore Minor torch fixes 2023-05-15 13:21:37 -07:00
demo_functional.py Fix typos 2023-05-02 22:44:46 -07:00
jax_integration_test.py Minor refactor of backend.random 2023-04-12 21:07:17 -07:00
jax_training_scratchpad.py re-enable imports checks (#51) 2023-04-27 17:51:32 -07:00
LICENSE Add license. 2023-04-09 13:00:24 -07:00
pip_build.py Minor simplifications 2023-05-14 14:17:39 -07:00
pyproject.toml Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
README.md Minor simplifications 2023-05-14 14:17:39 -07:00
requirements.txt Tensorboard callback (#211) 2023-06-04 13:44:21 -04:00
setup.cfg fix lint (#168) 2023-05-14 18:41:50 +00:00
setup.py Better colab summarries (#221) 2023-05-30 17:44:34 -07:00
tf_integration_test.py Minor refactor of backend.random 2023-04-12 21:07:17 -07:00

Keras Core: a new multi-backend Keras

Keras Core is a new multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch.

Backwards compatibility

Keras Core is intend to work as a drop-in replacement for tf.keras (when using the TensorFlow backend).

In addition, Keras models can consume datasets in any format, regardless of the backend you're using: you can train your models with your existing tf.data.Dataset pipelines or Torch DataLoaders.

Why use Keras Core?

  • Write custom components (e.g. layers, models, metrics) that you can move across framework boundaries.
  • Make your code future-proof by avoiding framework lock-in.
  • As a PyTorch user: get access to power of Keras, at last!
  • As a JAX user: get access to a fully-featured, battle-tested modeling and training library.

Credits

TODO