Example #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();
            }
        }
Example #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();
            }
        }