module Activation: Owl_neural_neuron.Activation
type
typ =
| |
Relu |
| |
Sigmoid |
| |
Softmax |
| |
Tanh |
| |
Custom of |
| |
None |
type
neuron_typ = {
|
mutable activation : |
|
mutable in_shape : |
|
mutable out_shape : |
val create : typ -> neuron_typ
val connect : int array -> neuron_typ -> unit
val run_activation : Owl_algodiff.S.t -> typ -> Owl_algodiff.S.t
val run : Owl_algodiff.S.t ->
neuron_typ -> Owl_algodiff.S.t
val activation_to_string : typ -> string
val to_string : neuron_typ -> string