Encog.Neural.Networks.Structure.NeuralStructure.RequireFlat C# (CSharp) Method

RequireFlat() public method

Throw an error if there is no flat network.
public RequireFlat ( ) : void
return void
        public void RequireFlat()
        {
            if (_flat == null)
            {
                throw new NeuralNetworkError(
                    "Must call finalizeStructure before using this network.");
            }
        }