AIMA.Core.Learning.Neural.Layer.Layer C# (CSharp) Метод

Layer() публичный Метод

public Layer ( Matrix weightMatrix, Vector biasVector, ActivationFunction af ) : System
weightMatrix Matrix
biasVector AIMA.Core.Util.Math.Vector
af ActivationFunction
Результат System
	public Layer(Matrix weightMatrix, Vector biasVector, ActivationFunction af) {

		activationFunction = af;
		this.weightMatrix = weightMatrix;
		lastWeightUpdateMatrix = new Matrix(weightMatrix.getRowDimension(),
				weightMatrix.getColumnDimension());
		penultimateWeightUpdateMatrix = new Matrix(weightMatrix
				.getRowDimension(), weightMatrix.getColumnDimension());

		this.biasVector = biasVector;
		lastBiasUpdateVector = new Vector(biasVector.getRowDimension());
		penultimateBiasUpdateVector = new Vector(biasVector.getRowDimension());
	}

Same methods

Layer::Layer ( int numberOfNeurons, int numberOfInputs, double lowerLimitForWeights, double upperLimitForWeights, ActivationFunction af ) : System