Neuron.Activationtype typ = | Elu| Relu| Sigmoid| HardSigmoid| Softmax of int| Softplus| Softsign| Tanh| Relu6| LeakyRelu of float| TRelu of float| Custom of Optimise.Algodiff.t -> Optimise.Algodiff.t| NoneTypes of activation functions.
*)type neuron_typ = {mutable activation : typ;mutable in_shape : int array;mutable out_shape : int array;}Neuron type definition.
val create : typ -> neuron_typCreate the neuron.
val connect : int array -> neuron_typ -> unitConnect this neuron to others in a neural network.
val run_activation : Optimise.Algodiff.t -> typ -> Optimise.Algodiff.tRun one specific activation function.
val copy : neuron_typ -> neuron_typMake a deep copy of the neuron and its parameters.
val run : Optimise.Algodiff.t -> neuron_typ -> Optimise.Algodiff.tExecute the computation in this neuron.
val activation_to_string : typ -> stringReturn the name of a specific activation function.
val to_string : neuron_typ -> stringConvert the neuron to its string representation. The string is often a summary of the parameters defined in the neuron.