Skip to content

Commit c70bcba

Browse files
committed
added NEWS
1 parent e819ebb commit c70bcba

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

NEWS.md

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

3+
- `install_keras()` changes: if a GPU is available, the default is now to
4+
install a CPU build of TensorFlow and a GPU build of JAX. To use a GPU in the
5+
current session, call `use_backend("jax")`.
6+
7+
## Added compatibility with Keras v3.6.0. User-facing changes:
8+
9+
#### Breaking changes:
10+
11+
- When using `get_file()` with `extract = TRUE` or `untar = TRUE`, the return value
12+
is now the path of the extracted directory, rather than the path of the archive.
13+
14+
#### Other changes and additions:
15+
16+
- Logging is now asynchronous in `fit()`, `evaluate()`, and `predict()`. This
17+
enables 100% compact stacking of `train_step` calls on accelerators (e.g. when
18+
running small models on TPU).
19+
- If you are using custom callbacks that rely on `on_batch_end`, this will
20+
disable async logging. You can re-enable it by adding
21+
`self$async_safe <- TRUE` to your callbacks. Note that the TensorBoard
22+
callback is not considered async-safe by default. Default callbacks like the
23+
progress bar are async-safe.
24+
25+
- New bitwise operations:
26+
- `op_bitwise_and()`
27+
- `op_bitwise_invert()`
28+
- `op_bitwise_left_shift()`
29+
- `op_bitwise_not()`
30+
- `op_bitwise_or()`
31+
- `op_bitwise_right_shift()`
32+
- `op_bitwise_xor()`
33+
34+
- New math operations:
35+
- `op_logdet()`
36+
- `op_trunc()`
37+
- `op_histogram()`
38+
39+
- New neural network operation: `op_dot_product_attention()`
40+
41+
- New image preprocessing layers:
42+
- `layer_auto_contrast()`
43+
- `layer_solarization()`
44+
45+
- New Model functions `get_state_tree()` and `set_state_tree()`, for retrieving
46+
all model variables, including trainable, non-trainable, optimizer variables,
47+
and metric variables.
48+
49+
- New `layer_pipeline()` for composing a sequence of layers. This class is useful
50+
for building a preprocessing pipeline. Compared to a `keras_model_sequential()`,
51+
`layer_pipeline()` has a few key differences:
52+
- It's not a Model, just a plain layer.
53+
- When the layers in the pipeline are compatible with `tf.data`, the pipeline
54+
will also remain `tf.data` compatible, regardless of the backend you use.
55+
56+
- New argument: `export_savedmodel(verbose = )`
57+
- New argument: `op_normalize(epsilon = )`
58+
59+
- Various documentation improvements and bug fixes.
60+
61+
362
# keras3 1.2.0
463

564
- Added compatibility with Keras v3.5.0. User facing changes:

tools/make-man.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ Sys.glob("man/*.Rd") %>%
4343
# walk(itemize_family)
4444

4545

46-
remotes::install_local(force = TRUE)
46+
remotes::install_local(force = TRUE)
47+

0 commit comments

Comments
 (0)