AdvancedOCR.Weights.RandomWeight C# (CSharp) Méthode

RandomWeight() protected static méthode

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