Exemplo n.º 1
0
        public void TestGradient3DCuDnn()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest(EngineParameter.Engine.CUDNN);

            try
            {
                foreach (IDeconvolutionLayerTest t in test.Tests)
                {
                    t.TestGradient3D();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 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();
            }
        }
Exemplo n.º 3
0
        public void TestNDAgainst2D()
        {
            DeconvolutionLayerTest test = new DeconvolutionLayerTest(EngineParameter.Engine.CAFFE);

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

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