new_layer | R Documentation |
Constructor function for layers. You shouldn't generally need to use this. Instead, consider
using individual functions such as dense
.
new_layer(cl, ...)
cl |
Character string specifying class of layer (e.g. |
... |
Other parameters (usually |
A construct with class "ruta_layer"
my_layer <- new_layer("dense", 30, "tanh")
# Equivalent:
my_layer <- dense(30, "tanh")[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.