Description Usage Arguments Value
This function appends a set of independent paths with the same architecture to a keras object.
1 2 | block_paths(object, hidden_layers = NULL, num_paths = 2,
finalize_layers = list(), concatenate = FALSE)
|
object |
(keras object) The object where to append the block. |
hidden_layers |
(list) List of layers, with types and corresponding parameters. |
num_paths |
(integer) Number of paths to generate with the same topology. |
finalize_layers |
(list) List of layers, with types and corresponding parameters, to be added at the end of each path. Useful when called from |
concatenate |
(logical) Default = |
A list of keras objects (if concatenate == FALSE
) or a single object (if concatenate == TRUE
),
representing the num_paths
independent paths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.