Skip to content

Commit 89b5ccb

Browse files
committed
add NEWS
1 parent 903494c commit 89b5ccb

File tree

1 file changed

+47
-17
lines changed

1 file changed

+47
-17
lines changed

NEWS.md

Lines changed: 47 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,47 @@
11
# keras3 (development version)
22

3+
## Added compatibility with Keras v3.8.0. User-facing changes:
4+
5+
- New symbols:
6+
- `activation_sparse_plus()`
7+
- `activation_sparsemax()`
8+
- `activation_threshold()`
9+
- `layer_equalization()`
10+
- `layer_mix_up()`
11+
- `layer_rand_augment()`
12+
- `layer_random_color_degeneration()`
13+
- `layer_random_color_jitter()`
14+
- `layer_random_grayscale()`
15+
- `layer_random_hue()`
16+
- `layer_random_posterization()`
17+
- `layer_random_saturation()`
18+
- `layer_random_sharpness()`
19+
- `layer_random_shear()`
20+
- `op_diagflat()`
21+
- `op_sparse_plus()`
22+
- `op_sparsemax()`
23+
- `op_threshold()`
24+
- `op_unravel_index()`
25+
26+
- Add argument axis to tversky loss
27+
- New: ONNX model export with `export_savedmodel()`
28+
- Doc improvements and bug fixes.
29+
- JAX specific changes: Add support for JAX named scope
30+
- TensorFlow specific changes: Make `random_shuffle()` XLA compilable
31+
32+
333
## Added compatibility with Keras v3.7.0. User-facing changes:
434

535
### New functions
636

737
#### Activations
8-
- `activation_celu()`
38+
- `activation_celu()`
939
- `activation_glu()`
1040
- `activation_hard_shrink()`
1141
- `activation_hard_tanh()`
1242
- `activation_log_sigmoid()`
13-
- `activation_soft_shrink()`
14-
- `activation_squareplus()`
43+
- `activation_soft_shrink()`
44+
- `activation_squareplus()`
1545
- `activation_tanh_shrink()`
1646

1747
#### Configuration
@@ -57,26 +87,26 @@
5787
* Added support for Intel XPU devices in PyTorch backend
5888

5989

60-
- `install_keras()` changes: if a GPU is available, the default is now to
61-
install a CPU build of TensorFlow and a GPU build of JAX. To use a GPU in the
90+
- `install_keras()` changes: if a GPU is available, the default is now to
91+
install a CPU build of TensorFlow and a GPU build of JAX. To use a GPU in the
6292
current session, call `use_backend("jax")`.
6393

6494
## Added compatibility with Keras v3.6.0. User-facing changes:
6595

6696
#### Breaking changes:
6797

68-
- When using `get_file()` with `extract = TRUE` or `untar = TRUE`, the return value
98+
- When using `get_file()` with `extract = TRUE` or `untar = TRUE`, the return value
6999
is now the path of the extracted directory, rather than the path of the archive.
70100

71101
#### Other changes and additions:
72102

73-
- Logging is now asynchronous in `fit()`, `evaluate()`, and `predict()`. This
74-
enables 100% compact stacking of `train_step` calls on accelerators (e.g. when
103+
- Logging is now asynchronous in `fit()`, `evaluate()`, and `predict()`. This
104+
enables 100% compact stacking of `train_step` calls on accelerators (e.g. when
75105
running small models on TPU).
76-
- If you are using custom callbacks that rely on `on_batch_end`, this will
77-
disable async logging. You can re-enable it by adding
78-
`self$async_safe <- TRUE` to your callbacks. Note that the TensorBoard
79-
callback is not considered async-safe by default. Default callbacks like the
106+
- If you are using custom callbacks that rely on `on_batch_end`, this will
107+
disable async logging. You can re-enable it by adding
108+
`self$async_safe <- TRUE` to your callbacks. Note that the TensorBoard
109+
callback is not considered async-safe by default. Default callbacks like the
80110
progress bar are async-safe.
81111

82112
- New bitwise operations:
@@ -99,15 +129,15 @@
99129
- `layer_auto_contrast()`
100130
- `layer_solarization()`
101131

102-
- New Model functions `get_state_tree()` and `set_state_tree()`, for retrieving
103-
all model variables, including trainable, non-trainable, optimizer variables,
132+
- New Model functions `get_state_tree()` and `set_state_tree()`, for retrieving
133+
all model variables, including trainable, non-trainable, optimizer variables,
104134
and metric variables.
105135

106-
- New `layer_pipeline()` for composing a sequence of layers. This class is useful
107-
for building a preprocessing pipeline. Compared to a `keras_model_sequential()`,
136+
- New `layer_pipeline()` for composing a sequence of layers. This class is useful
137+
for building a preprocessing pipeline. Compared to a `keras_model_sequential()`,
108138
`layer_pipeline()` has a few key differences:
109139
- It's not a Model, just a plain layer.
110-
- When the layers in the pipeline are compatible with `tf.data`, the pipeline
140+
- When the layers in the pipeline are compatible with `tf.data`, the pipeline
111141
will also remain `tf.data` compatible, regardless of the backend you use.
112142

113143
- New argument: `export_savedmodel(verbose = )`

0 commit comments

Comments
 (0)