@@ -590,16 +590,17 @@ keras_array <- function(x, dtype = NULL) {
590
590
# ' @param show_trainable
591
591
# ' whether to display if a layer is trainable.
592
592
# '
593
- # ' @returns Nothing, called for it's side effects.
593
+ # ' @returns Nothing, called for it side effects.
594
594
# '
595
595
# ' @section Raises: ValueError: if `plot(model)` is called before the model is
596
- # ' built, unless a `input_shape = ` argument was supplied to
596
+ # ' built, unless an `input_shape = ` argument was supplied to
597
597
# ' `keras_model_sequential()`.
598
598
# '
599
599
# ' @section Requirements:
600
600
# ' This function requires pydot and graphviz.
601
+ # '
601
602
# ' `pydot` is by default installed by `install_keras()`, but if you installed
602
- # ' keras by other means, you can install `pydot` directly with :
603
+ # ' Keras by other means, you can install `pydot` directly with:
603
604
# ' ````r
604
605
# ' reticulate::py_install("pydot", pip = TRUE)
605
606
# ' ````
@@ -611,6 +612,10 @@ keras_array <- function(x, dtype = NULL) {
611
612
# ' ```sh
612
613
# ' sudo apt install graphviz
613
614
# ' ```
615
+ # ' On macOS you can install graphviz using `brew`:
616
+ # ' ```sh
617
+ # ' brew install graphviz
618
+ # ' ```
614
619
# ' In a conda environment, you can install graphviz with:
615
620
# ' ```r
616
621
# ' reticulate::conda_install(packages = "graphviz")
0 commit comments