/// <summary> /// Initializes a new instance of the <see cref="AveragePoolingLayer"/> class, using the existing <see cref="AveragePoolingLayer"/> object. /// </summary> /// <param name="other">The <see cref="AveragePoolingLayer"/> to copy the data from.</param> public AveragePoolingLayer(AveragePoolingLayer other) : base(other) { }
/// <summary> /// Initializes a new instance of the <see cref="AveragePoolingLayer"/> class, using the specified architecture. /// </summary> /// <param name="shape">The shape of the layer's input tensor.</param> /// <param name="architecture">The layer architecture.</param> /// <param name="random">The random numbers generator.</param> public AveragePoolingLayer(Shape shape, string architecture, RandomNumberGenerator <float> random) : base(shape, AveragePoolingLayer.KernelFromArchitecture(architecture)) { }