public void TestGradient()
        {
            PoolingStochasticLayerTest test = new PoolingStochasticLayerTest(EngineParameter.Engine.CAFFE);

            try
            {
                foreach (IPoolingStochasticLayerTest t in test.Tests)
                {
                    t.TestGradient();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestSetupUseOnnx()
        {
            PoolingStochasticLayerTest test = new PoolingStochasticLayerTest(EngineParameter.Engine.CAFFE);

            try
            {
                foreach (IPoolingStochasticLayerTest t in test.Tests)
                {
                    t.TestSetup(PoolingParameter.PoolingReshapeAlgorithm.ONNX);
                }
            }
            finally
            {
                test.Dispose();
            }
        }