示例#1
0
        public void TestGradient3DCuDnn()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (IDeconvolutionLayerTest t in test.Tests)
                {
                    t.TestGradient3D();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#2
0
        public void TestNDAgainst2DCuDnnWithTensorCores()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (IDeconvolutionLayerTest t in test.Tests)
                {
                    t.TestNDAgainst2D(true);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#3
0
        public void TestNDAgainst2D()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest(EngineParameter.Engine.CAFFE);

            try
            {
                foreach (IDeconvolutionLayerTest t in test.Tests)
                {
                    t.TestNDAgainst2D();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
示例#4
0
        public void TestGradient3D()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest();

            try
            {
                foreach (IDeconvolutionLayerTest t in test.Tests)
                {
                    t.TestGradient3D();
                }
            }
            finally
            {
                test.Dispose();
            }
        }