Nn.Net
Generic networks.
module Layer : sig ... end
Layers of a net.
val src : t -> int
val tgt : t -> int
val neural :
?activation:[< `ReLU | `Sigmoid Sigmoid ] ->
rate:float ->
int list ->
t
Create a neural network with given arities for the layers and convergence rate.
Forward propagation: returns layers decorated with their input, as well as the global output.