package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type typ = Owl_neural_neuron.Make(Owl_dense_matrix.D)(Owl_dense_ndarray.D).Activation.typ =
  1. | Elu
  2. | Relu
  3. | Sigmoid
  4. | HardSigmoid
  5. | Softmax
  6. | Softplus
  7. | Softsign
  8. | Tanh
  9. | Relu6
  10. | LeakyRelu of float
  11. | TRelu of float
  12. | Custom of t -> t
  13. | None
type neuron_typ = Owl_neural_neuron.Make(Owl_dense_matrix.D)(Owl_dense_ndarray.D).Activation.neuron_typ = {
  1. mutable activation : typ;
  2. mutable in_shape : int array;
  3. mutable out_shape : int array;
}
val create : typ -> neuron_typ
val connect : int array -> neuron_typ -> unit
val run_activation : t -> typ -> t
val copy : neuron_typ -> neuron_typ
val run : t -> neuron_typ -> t
val activation_to_string : typ -> string
val to_string : neuron_typ -> string
val to_name : unit -> string
OCaml

Innovation. Community. Security.