Skip to content

Commit cdbfaaa

Browse files
authored
Merge pull request #1041 from dfalbel/v2.3.0.0-rc0
Prepare for the 2.3.0.0 release
2 parents dab4323 + aef0242 commit cdbfaaa

File tree

10 files changed

+16
-12
lines changed

10 files changed

+16
-12
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: ['windows-latest', 'macOS-latest', 'ubuntu-16.04']
15-
tf: ['1.14.0', '1.15.2', '2.0.1', '2.1.0', '2.2-rc3', 'nightly']
15+
tf: ['1.14.0', '1.15.2', '2.0.1', '2.1.0', '2.2.0', 'nightly']
1616
include:
1717
- os: ubuntu-16.04
1818
cran: https://demo.rstudiopm.com/all/__linux__/xenial/latest

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: keras
22
Type: Package
33
Title: R Interface to 'Keras'
4-
Version: 2.2.5.0
4+
Version: 2.3.0.0
55
Authors@R: c(
66
person("Daniel", "Falbel", role = c("ctb", "cph", "cre"), email = "[email protected]"),
77
person("JJ", "Allaire", role = c("aut", "cph")),

R/history.R

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@ print.keras_training_history <- function(x, ...) {
1717
validate <- paste0(", validated on ", params[["validation_samples"]], " samples")
1818
else
1919
validate <- ""
20-
str <- paste0("Trained on ", params[["samples"]]," samples", validate, " (batch_size=",
21-
params[["batch_size"]], ", epochs=", params[["epochs"]], ")")
22-
20+
21+
str <- ""
22+
if (!params[["samples"]] == "NULL") {
23+
str <- paste0(str, "Trained on ", params[["samples"]]," samples", validate, " (batch_size=",
24+
params[["batch_size"]], ", epochs=", params[["epochs"]], ")")
25+
}
26+
2327
# last epoch metrics
2428
metrics <- lapply(x$metrics, function(metric) {
2529
metric[[epochs]]

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#' desired backend) as described on the [Keras website](https://keras.io/#installation)
6969
#' and the Keras R package will find and use that version.
7070
#'
71-
#' See the documentation on [custom installations](https://tensorflow.rstudio.com/installation.html#custom-installation)
71+
#' See the documentation on [custom installations](https://tensorflow.rstudio.com/installation/custom/)
7272
#' for additional information on how version of Keras and TensorFlow are located
7373
#' by the Keras package.
7474
#'

man/get_layer.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/install_keras.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/custom_layers.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ CustomLayer <- R6::R6Class("CustomLayer",
7373
)
7474
```
7575

76-
Note that tensor operations are executed using the Keras `backend()`. See the [Keras Backend](backend.html) article for details on the various functions available from Keras backends.
76+
Note that tensor operations are executed using the Keras `backend()`. See the Keras Backend article for details on the various functions available from Keras backends.
7777

7878
## Layer Wrapper Function
7979

vignettes/faq.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ The VGG16 model is also the basis for the [Deep dream](https://keras.rstudio.com
503503

504504
## How can I use other Keras backends?
505505

506-
By default the Keras Python and R packages use the TensorFlow backend. Other available backends include Theano or CNTK. To learn more about using alternatate backends (e.g. Theano or CNTK) see the [article on Keras backends](backend.html).
506+
By default the Keras Python and R packages use the TensorFlow backend. Other available backends include Theano or CNTK. To learn more about using alternatate backends (e.g. Theano or CNTK) see the article on Keras backends.
507507

508508

509509
## How can I use the PlaidML backend?

vignettes/guide_keras.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ model %>%
7575
There are many `layers` available with some common constructor
7676
parameters:
7777

78-
- `activation`: Set the [activation function](https://tensorflow.rstudio.com/keras/reference/#section-activation-layers) for the layer. By default, no activation is applied.
78+
- `activation`: Set the [activation function](https://tensorflow.rstudio.com/reference/keras/#section-activation-layers) for the layer. By default, no activation is applied.
7979
- `kernel_initializer` and `bias_initializer`: The initialization
8080
schemes that create the layer’s weights (kernel and bias). This defaults to the
8181
[`Glorot uniform`](https://tensorflow.rstudio.com/keras/reference/initializer_glorot_uniform.html) initializer.

vignettes/index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ install.packages("keras")
5757
install_keras()
5858
```
5959

60-
This will provide you with default CPU-based installations of Keras and TensorFlow. If you want a more customized installation, e.g. if you want to take advantage of NVIDIA GPUs, see the documentation for `install_keras()` and the [installation](/installation/) section.
60+
This will provide you with default CPU-based installations of Keras and TensorFlow. If you want a more customized installation, e.g. if you want to take advantage of NVIDIA GPUs, see the documentation for `install_keras()` and the [installation](https://tensorflow.rstudio.com/installation/) section.
6161

6262
## MNIST Example
6363

0 commit comments

Comments
 (0)