Skip to content

Commit

Permalink
reexport iterator functions
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed May 7, 2024
1 parent ecf2620 commit 10b55bd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
14 changes: 8 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# keras3 (development version)

- Chains of `layer_*` calls with `|>` now instantiate layers in the
same order as `%>%` pipe chains: left-hand-side first (#1440).
- Chains of `layer_*` calls with `|>` now instantiate layers in the
same order as `%>%` pipe chains: left-hand-side first (#1440).

User facing changes with upstream Keras v3.3.2:
- `iterate()`, `iter_next()` and `as_iterator()` are now reexported from reticulate.

User facing changes with upstream Keras v3.3.2:

- new function: `op_ctc_decode()`
- new function: `op_eigh()`
Expand All @@ -21,9 +23,9 @@ User facing changes with upstream Keras v3.3.2:

- new arg: `clear_session(free_memory)` for clearing without invoking the garbage collector.

- `metric_kl_divergence()` and `loss_kl_divergence()` clip inputs
- `metric_kl_divergence()` and `loss_kl_divergence()` clip inputs
(`y_true` and `y_pred`) to the `[0, 1]` range.

- new `Layer()` attributes: `metrics`, `dtype_policy`

- Added initial support for float8 training
Expand All @@ -34,7 +36,7 @@ User facing changes with upstream Keras v3.3.2:

- Models and layers now return owned metrics recursively.

- Add pickling support for Keras models. (e.g., via `reticulate::py_save_object()`)
- Add pickling support for Keras models. (e.g., via `reticulate::py_save_object()`)
Note that pickling is not recommended, prefer using Keras saving APIs.


Expand Down
9 changes: 9 additions & 0 deletions R/reexports.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ reticulate::np_array
#' @export
reticulate::tuple

#' @export
reticulate::iter_next

#' @export
reticulate::iterate

#' @export
reticulate::as_iterator

#' @importFrom tensorflow tensorboard
#' @export
tensorflow::tensorboard
Expand Down

0 comments on commit 10b55bd

Please sign in to comment.