public Matrix Predict(double[] inp) { Matrix inputs = new Matrix(inp); HiddenLayer.Inputs = inputs; HiddenLayer.ComputeOut(); return(OutputLayer.Outputs); }