Class LayerListBuilder<TIn, TOut>
- Namespace
- NeuralNetworks.Models.LayerList
- Assembly
- NeuralNetworks.dll
public class LayerListBuilder<TIn, TOut> : LayerListBuilder where TIn : notnull where TOut : notnull
Type Parameters
TIn
TOut
- Inheritance
-
LayerListBuilder<TIn, TOut>
- Inherited Members
-
Constructors
LayerListBuilder(Layer<TIn, TOut>)
public LayerListBuilder(Layer<TIn, TOut> layer)
Parameters
layer Layer<TIn, TOut>
Methods
AddLayer(Layer<TIn, TOut>)
public static LayerListBuilder<TIn, TOut> AddLayer(Layer<TIn, TOut> layer)
Parameters
layer Layer<TIn, TOut>
Returns
- LayerListBuilder<TIn, TOut>
AddLayer<TNextOut>(Layer<TOut, TNextOut>)
public LayerListBuilder<TIn, TNextOut> AddLayer<TNextOut>(Layer<TOut, TNextOut> layer) where TNextOut : notnull
Parameters
layer Layer<TOut, TNextOut>
Returns
- LayerListBuilder<TIn, TNextOut>
Type Parameters
TNextOut
Build()
public LayerList<TIn, TOut> Build()
Returns
- LayerList<TIn, TOut>