new_network | R Documentation |
Constructor function for networks composed of several sequentially placed
layers. You shouldn't generally need to use this. Instead, consider
concatenating several layers with +.ruta_network
.
new_network(...)
... |
Zero or more objects of class |
A construct with class "ruta_network"
my_network <- new_network(
new_layer("input", 784, "linear"),
new_layer("dense", 32, "tanh"),
new_layer("dense", 784, "sigmoid")
)
# Instead, consider using
my_network <- input() + dense(32, "tanh") + output("sigmoid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.