コード例 #1
0
        public void TestGradient()
        {
            BatchNormLayerTest test = new BatchNormLayerTest();

            try
            {
                foreach (IBatchNormLayerTest t in test.Tests)
                {
                    t.TestGradient();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
コード例 #2
0
        public void TestForwardInplaceCuDnn()
        {
            BatchNormLayerTest test = new BatchNormLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (IBatchNormLayerTest t in test.Tests)
                {
                    t.TestForwardInplace();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
コード例 #3
0
        public void TestForwardInplace()
        {
            BatchNormLayerTest test = new BatchNormLayerTest();

            try
            {
                foreach (IBatchNormLayerTest t in test.Tests)
                {
                    t.TestForwardInplace();
                }
            }
            finally
            {
                test.Dispose();
            }
        }