public void TestGradientUnnormalized() { SoftmaxLossLayerTest test = new SoftmaxLossLayerTest(EngineParameter.Engine.CAFFE); try { foreach (ISoftmaxLossLayerTest t in test.Tests) { t.TestGradientUnnormalized(); } } finally { test.Dispose(); } }
public void TestGradientCuDnn() { SoftmaxLossLayerTest test = new SoftmaxLossLayerTest(EngineParameter.Engine.CUDNN); try { foreach (ISoftmaxLossLayerTest t in test.Tests) { t.TestGradient(); } } finally { test.Dispose(); } }
public void TestForwardIgnoreLabel() { SoftmaxLossLayerTest test = new SoftmaxLossLayerTest(EngineParameter.Engine.CAFFE); try { foreach (ISoftmaxLossLayerTest t in test.Tests) { t.TestForwardIgnoreLabel(); } } finally { test.Dispose(); } }