예제 #1
0
        public void TestGradientNonZeroContBufferSize2()
        {
            LSTMLayerTest test = new LSTMLayerTest();

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestGradientNonZeroContBufferSize2();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #2
0
        public void TestGradient()
        {
            LSTMLayerTest test = new LSTMLayerTest();

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestGradient();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #3
0
        public void TestCuDnn()
        {
            LSTMLayerTest test = new LSTMLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestCuDnn();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #4
0
        public void TestLSTMUnitSetup()
        {
            LSTMLayerTest test = new LSTMLayerTest();

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestLSTMUnitSetup();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #5
0
        public void TestForwardCuDnnTraining()
        {
            LSTMLayerTest test = new LSTMLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestForward(Phase.TRAIN);
                }
            }
            finally
            {
                test.Dispose();
            }
        }