public void TestGradient() { BatchNormLayerTest test = new BatchNormLayerTest(); try { foreach (IBatchNormLayerTest t in test.Tests) { t.TestGradient(); } } finally { test.Dispose(); } }
public void TestForwardInplaceCuDnn() { BatchNormLayerTest test = new BatchNormLayerTest(EngineParameter.Engine.CUDNN); try { foreach (IBatchNormLayerTest t in test.Tests) { t.TestForwardInplace(); } } finally { test.Dispose(); } }
public void TestForwardInplace() { BatchNormLayerTest test = new BatchNormLayerTest(); try { foreach (IBatchNormLayerTest t in test.Tests) { t.TestForwardInplace(); } } finally { test.Dispose(); } }