public void TestForwardCos()
        {
            MathLayerTest test = new MathLayerTest();

            try
            {
                foreach (IMathLayerTest t in test.Tests)
                {
                    t.TestForward(MyCaffe.common.MATH_FUNCTION.COS);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestGradientSqrt()
        {
            MathLayerTest test = new MathLayerTest();

            try
            {
                foreach (IMathLayerTest t in test.Tests)
                {
                    t.TestGradient(MyCaffe.common.MATH_FUNCTION.SQRT);
                }
            }
            finally
            {
                test.Dispose();
            }
        }