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

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

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

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

            try
            {
                foreach (ILSTMLayerTest t in test.Tests)
                {
                    t.TestLSTMUnitSetup();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemple #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();
            }
        }