Esempio n. 1
0
        public void TestXavierFiller5D()
        {
            XavierFillerTest test = new XavierFillerTest();

            try
            {
                foreach (IFillerTest t in test.Tests)
                {
                    t.TestFill5D();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Esempio n. 2
0
        public void TestXavierFillerAverage()
        {
            XavierFillerTest test = new XavierFillerTest();

            try
            {
                foreach (IFillerTest t in test.Tests)
                {
                    double dfN = (2 * 4 * 5 + 1000 * 4 * 5) / 2.0;
                    t.TestFill(FillerParameter.VarianceNorm.AVERAGE, dfN);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Esempio n. 3
0
        public void TestXavierFillerFanOut()
        {
            XavierFillerTest test = new XavierFillerTest();

            try
            {
                foreach (IFillerTest t in test.Tests)
                {
                    double dfN = 1000 * 4 * 5;
                    t.TestFill(FillerParameter.VarianceNorm.FAN_OUT, dfN);
                }
            }
            finally
            {
                test.Dispose();
            }
        }