예제 #1
0
        public void TestGradientAcrossChannelsLargeRegion()
        {
            LRNLayerTest test = new LRNLayerTest(EngineParameter.Engine.CAFFE);

            try
            {
                foreach (ILRNLayerTest t in test.Tests)
                {
                    t.TestGradientAcrossChannelsLargeRegion();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #2
0
        public void TestGradientWithinChannelsCuDnn()
        {
            LRNLayerTest test = new LRNLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (ILRNLayerTest t in test.Tests)
                {
                    t.TestGradientWithinChannels();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #3
0
        public void TestForwardAcrossChannels()
        {
            LRNLayerTest test = new LRNLayerTest(EngineParameter.Engine.CAFFE);

            try
            {
                foreach (ILRNLayerTest t in test.Tests)
                {
                    t.TestForwardAcrossChannels();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
예제 #4
0
        public void TestForwardAcrossChannelsLargeRegionCuDnn()
        {
            LRNLayerTest test = new LRNLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (ILRNLayerTest t in test.Tests)
                {
                    t.TestForwardAcrossChannelsLargeRegion();
                }
            }
            finally
            {
                test.Dispose();
            }
        }