Nn.NetGeneric networks.
module Layer : sig ... endLayers of a net.
val src : t -> intval tgt : t -> intval neural :
?activation:[< `ReLU | `Sigmoid Sigmoid ] ->
rate:float ->
int list ->
tCreate 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.