AdvancedOCR.Weights.RandomWeight C# (CSharp) Method

RandomWeight() protected static method

protected static RandomWeight ( int fanIn ) : double
fanIn int
return double
        protected static double RandomWeight(int fanIn)
        {
            return (random.NextDouble() - 0.5) * (4.8 / fanIn);
        }