public void TestGradientCuDnn() { SoftmaxLayerTest test = new SoftmaxLayerTest(EngineParameter.Engine.CUDNN); try { foreach (INeuronLayerTest t in test.Tests) { t.TestGradient(); } } finally { test.Dispose(); } }
public void TestForward() { SoftmaxLayerTest test = new SoftmaxLayerTest(EngineParameter.Engine.CAFFE); try { foreach (INeuronLayerTest t in test.Tests) { t.TestForward(); } } finally { test.Dispose(); } }