AIMA.Core.Util.Math.Matrix.getRowDimension C# (CSharp) Method

getRowDimension() public method

public getRowDimension ( ) : int
return int
	public int getRowDimension() {
		return m;
	}

Usage Example

示例#1
0
	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());
	}
All Usage Examples Of AIMA.Core.Util.Math.Matrix::getRowDimension