Пример #1
0
        public void TestGradient_MSE()
        {
            MeanErrorLossLayerTest test = new MeanErrorLossLayerTest();

            try
            {
                foreach (IMeanErrorLossLayerTest t in test.Tests)
                {
                    t.TestGradient(MEAN_ERROR.MSE);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #2
0
        public void TestForward_MAE()
        {
            MeanErrorLossLayerTest test = new MeanErrorLossLayerTest();

            try
            {
                foreach (IMeanErrorLossLayerTest t in test.Tests)
                {
                    t.TestForward(MEAN_ERROR.MAE);
                }
            }
            finally
            {
                test.Dispose();
            }
        }