Skip to content

Commit

Permalink
Merge pull request #1407 from rstudio/misc-fixes
Browse files Browse the repository at this point in the history
Polish `op_*` docs and converters
  • Loading branch information
t-kalinowski authored Feb 23, 2024
2 parents e0945b0 + 48a8bfc commit e43f51d
Show file tree
Hide file tree
Showing 65 changed files with 1,486 additions and 336 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@

- `to_categorical()`, `op_one_hot()`, and `fit()` can now accept R factors,
offset them to be 0-based (reported in `#1055`).

- `op_convert_to_numpy()` now returns unconverted NumPy arrays.

- `op_array()` and `op_convert_to_tensor()` no longer error when casting R
doubles to integer types.

# keras3 0.1.0

Expand Down
4 changes: 2 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ install_keras <- function(
envname = "r-keras", ...,
extra_packages = c("scipy", "pandas", "Pillow", "pydot", "ipython", "tensorflow_datasets"),
python_version = ">=3.9,<=3.11",
backend = "tensorflow",
# backend = c("tensorflow", "jax"),
# backend = "tensorflow",
backend = c("tensorflow", "jax"),
# backend = "tf-nightly",
gpu = NA,
restart_session = TRUE) {
Expand Down
Loading

0 comments on commit e43f51d

Please sign in to comment.