Wrapper for a dense/fully-connected layer.
dense(units, activation = "linear")
Number of units
Optional, string indicating activation function (linear by default)
A construct with class "ruta_network"
Other neural layers:
conv()
,
dropout()
,
input()
,
layer_keras()
,
output()
,
variational_block()
dense(30, "tanh")
#> Network structure:
#> dense(30 units) - tanh