Keras 3.10.0
New features
- Add support for weight sharding for saving very large models with
model.save(). It is controlled via themax_shard_sizeargument. Specifying this argument will split your Keras model weight file into chunks of this size at most. Useload_model()to reload the sharded files. - Add optimizer
keras.optimizers.Muon - Add image preprocessing layer
keras.layers.RandomElasticTransform - Add loss function
keras.losses.CategoricalGeneralizedCrossEntropy(with functional versionkeras.losses.categorical_generalized_cross_entropy) - Add
axisargument toSparseCategoricalCrossentropy - Add
lora_alphato all LoRA-enabled layers. If set, this parameter scales the low-rank adaptation delta during the forward pass. - Add activation function
keras.activations.sparse_sigmoid - Add op
keras.ops.image.elastic_transform - Add op
keras.ops.angle - Add op
keras.ops.bartlett - Add op
keras.ops.blackman - Add op
keras.ops.hamming - Add ops
keras.ops.view_as_complex,keras.ops.view_as_real
PyTorch backend
- Add cuDNN support for LSTM with the PyTorch backend
TensorFlow backend
- Add
tf.RaggedTensorsupport toEmbeddinglayer - Add variable-level support for
synchronizationargument
OpenVINO backend
- Add support for over 50 additional Keras ops in the OpenVINO inference backend!
New Contributors
- @JyotinderSingh made their first contribution in #20993
- @SaifMohammed22 made their first contribution in #20982
- @11happy made their first contribution in #20940
- @jpy794 made their first contribution in #21008
- @chiruu12 made their first contribution in #20950
- @arkhamHack made their first contribution in #21010
- @samitshah1 made their first contribution in #21036
- @nathanrooy made their first contribution in #21056
- @rfezzani made their first contribution in #21053
- @drasmuss made their first contribution in #21072
- @pass-lin made their first contribution in #21037
- @wilsbj made their first contribution in #21077
- @timsweeneyfanelli made their first contribution in #21081
- @darshil929 made their first contribution in #21042
- @superbobry made their first contribution in #21106
- @nithin9000 made their first contribution in #21136
- @Huanli-Gong made their first contribution in #21141
- @he7d3r made their first contribution in #21098
- @Kayyuri made their first contribution in #21125
- @b05505027 made their first contribution in #21139
- @Hmm-1224 made their first contribution in #21060
- @hridaya14 made their first contribution in #21138
- @pschuh made their first contribution in #21164
- @cantonios made their first contribution in #21184
- @victorgearhead made their first contribution in #21129
- @srinjoydutta03 made their first contribution in #21168
- @SiddharthV147 made their first contribution in #21231
- @emmanuel-ferdman made their first contribution in #21241
- @pctablet505 made their first contribution in #21254
- @Imokutmfon made their first contribution in #21257
- @sanleo-wq made their first contribution in #21269
Full Changelog: v3.9.0...v3.10.0