R/generics.R, R/layers.R, R/network.R
as_network.RdGeneric function to coerce objects into networks.
as_network(x) # S3 method for ruta_layer as_network(x) # S3 method for ruta_network as_network(x) # S3 method for numeric as_network(x) # S3 method for integer as_network(x)
| x | Object to be converted into a network |
|---|
A "ruta_network" construct
net <- as_network(c(784, 1000, 32))