Пример #1
0
 public static FluentNet Build(this LastLayerBase layer)
 {
     return(new FluentNet(layer));
 }
Пример #2
0
        public FluentNet(LastLayerBase <T> layer)
        {
            this._lastLayer = layer;

            this.FindLayers(layer, this.InputLayers, this._allLayers);
        }
Пример #3
0
        //public static DropOutLayer<T> DropOut<T>(this LayerBase<T> layer, double prob = 0.5) where T : struct, IEquatable<T>, IFormattable
        //{
        //    var dropout = new DropOutLayer<T>(prob);
        //    layer.ConnectTo(dropout);

        //    return dropout;
        //}

        public static FluentNet <T> Build <T>(this LastLayerBase <T> layer) where T : struct, IEquatable <T>, IFormattable
        {
            return(new FluentNet <T>(layer));
        }