package owl
Module Graph.Neuron
type arr = Owl_dense_ndarray.D.arrtype elt = Owl_dense_ndarray.D.eltand trace_op = Owl_algodiff_generic.Make(Owl_dense_ndarray.D).trace_op = | Noop| Add_D_D of t * t| Add_D_C of t * t| Add_C_D of t * t| Sub_D_D of t * t| Sub_D_C of t * t| Sub_C_D of t * t| Mul_D_D of t * t| Mul_D_C of t * t| Mul_C_D of t * t| Div_D_D of t * t| Div_D_C of t * t| Div_C_D of t * t| Pow_D_D of t * t| Pow_D_C of t * t| Pow_C_D of t * t| Atan2_D_D of t * t| Atan2_D_C of t * t| Atan2_C_D of t * t| Neg_D of t| Abs_D of t| Signum_D of t| Floor_D of t| Ceil_D of t| Round_D of t| Sqr_D of t| Sqrt_D of t| Log_D of t| Log2_D of t| Log10_D of t| Exp_D of t| Sin_D of t| Cos_D of t| Tan_D of t| Sinh_D of t| Cosh_D of t| Tanh_D of t| Asin_D of t| Acos_D of t| Atan_D of t| Asinh_D of t| Acosh_D of t| Atanh_D of t| Get_Item of t * int * int| SetI_D_D of t * int * int * t| SetI_D_C of t * int * int * t| SetI_C_D of t * int * int * t| AddI_D_D of t * int * int * t| AddI_D_C of t * int * int * t| AddI_C_D of t * int * int * t| Get_Slice_D of t * int list list| Set_Slice_D_D of t * t * int list list| Set_Slice_D_C of t * t * int list list| Set_Slice_C_D of t * t * int list list| Sum_D of t| Sum__D of t * int| Dot_D_D of t * t| Dot_D_C of t * t| Dot_C_D of t * t| Trans_D of t| L1Norm_D of t| L2Norm_D of t| L2NormS_D of t| Sigmoid_D of t| Relu_D of t| Inv_D of t| Add_Row_D_D of t * t * int| Add_Row_D_C of t * t * int| Add_Row_C_D of t * t * int| Get_Row_D of t * int| Of_Rows_D of t array| Concat_D_D of t * t * int| Concat_D_C of t * t * int| Concat_C_D of t * t * int| Conv1D_D_D of t * t * int array| Conv1D_D_C of t * t * int array| Conv1D_C_D of t * t * int array| Conv2D_D_D of t * t * int array| Conv2D_D_C of t * t * int array| Conv2D_C_D of t * t * int array| Conv3D_D_D of t * t * int array| Conv3D_D_C of t * t * int array| Conv3D_C_D of t * t * int array| Reshape_D of t| Maxpool1D_D of t * Owl_types.padding * int array * int array| Maxpool2D_D of t * Owl_types.padding * int array * int array| Maxpool3D_D of t * Owl_types.padding * int array * int array| Avgpool1D_D of t * Owl_types.padding * int array * int array| Avgpool2D_D of t * Owl_types.padding * int array * int array| Avgpool3D_D of t * Owl_types.padding * int array * int array
val _global_tag : int refval shape : t -> int arrayval row_num : t -> intval col_num : t -> intval numel : t -> intval clip_by_value :
amin:Owl_dense_ndarray.D.elt ->
amax:Owl_dense_ndarray.D.elt ->
t ->
tval clip_by_l2norm : Owl_dense_ndarray.D.elt -> t -> tval pack_flt : float -> tval unpack_flt : t -> floatval deep_info : t -> stringval type_info : t -> stringval error_uniop : string -> t -> 'amodule Maths : sig ... endval reverse_reset : t -> unitmodule Mat : sig ... endmodule Arr : sig ... endval to_trace : t list -> stringval to_dot : t list -> stringval pp_num : Format.formatter -> t -> unitmodule Init : sig ... endmodule Input : sig ... endmodule Activation : sig ... endmodule Linear : sig ... endmodule LinearNoBias : sig ... endmodule Recurrent : sig ... endmodule LSTM : sig ... endmodule GRU : sig ... endmodule Conv1D : sig ... endmodule Conv2D : sig ... endmodule Conv3D : sig ... endmodule FullyConnected : sig ... endmodule MaxPool1D : sig ... endmodule MaxPool2D : sig ... endmodule AvgPool1D : sig ... endmodule AvgPool2D : sig ... endmodule GlobalMaxPool1D : sig ... endmodule GlobalMaxPool2D : sig ... endmodule GlobalAvgPool1D : sig ... endmodule GlobalAvgPool2D : sig ... endmodule UpSampling1D : sig ... endmodule UpSampling2D : sig ... endmodule UpSampling3D : sig ... endmodule Padding1D : sig ... endmodule Padding2D : sig ... endmodule Padding3D : sig ... endmodule Lambda : sig ... endmodule Dropout : sig ... endmodule Reshape : sig ... endmodule Flatten : sig ... endmodule Add : sig ... endmodule Mul : sig ... endmodule Dot : sig ... endmodule Max : sig ... endmodule Average : sig ... endmodule Concatenate : sig ... endmodule Normalisation : sig ... endmodule GaussianNoise : sig ... endmodule GaussianDropout : sig ... endmodule AlphaDropout : sig ... endmodule Embedding : sig ... endmodule Masking : sig ... endtype neuron = Owl_neural_neuron.Make(Owl_dense_ndarray.D).neuron = | Input of Input.neuron_typ| Linear of Linear.neuron_typ| LinearNoBias of LinearNoBias.neuron_typ| Embedding of Embedding.neuron_typ| LSTM of LSTM.neuron_typ| GRU of GRU.neuron_typ| Recurrent of Recurrent.neuron_typ| Conv1D of Conv1D.neuron_typ| Conv2D of Conv2D.neuron_typ| Conv3D of Conv3D.neuron_typ| FullyConnected of FullyConnected.neuron_typ| MaxPool1D of MaxPool1D.neuron_typ| MaxPool2D of MaxPool2D.neuron_typ| AvgPool1D of AvgPool1D.neuron_typ| AvgPool2D of AvgPool2D.neuron_typ| GlobalMaxPool1D of GlobalMaxPool1D.neuron_typ| GlobalMaxPool2D of GlobalMaxPool2D.neuron_typ| GlobalAvgPool1D of GlobalAvgPool1D.neuron_typ| GlobalAvgPool2D of GlobalAvgPool2D.neuron_typ| Dropout of Dropout.neuron_typ| Reshape of Reshape.neuron_typ| Flatten of Flatten.neuron_typ| Lambda of Lambda.neuron_typ| Activation of Activation.neuron_typ| GaussianNoise of GaussianNoise.neuron_typ| GaussianDropout of GaussianDropout.neuron_typ| AlphaDropout of AlphaDropout.neuron_typ| Normalisation of Normalisation.neuron_typ| Add of Add.neuron_typ| Mul of Mul.neuron_typ| Dot of Dot.neuron_typ| Max of Max.neuron_typ| Average of Average.neuron_typ| Concatenate of Concatenate.neuron_typ
val get_in_out_shape : neuron -> int array * int arrayval get_in_shape : neuron -> int arrayval get_out_shape : neuron -> int arrayval connect : int array array -> neuron -> unitval init : neuron -> unitval reset : neuron -> unitval mktag : int -> neuron -> unitval to_string : neuron -> stringval to_name : neuron -> string