public void TestPowerGradientShiftZero() { PowerLayerTest test = new PowerLayerTest(); try { foreach (IPowerLayerTest t in test.Tests) { t.TestForward(0.37, 0.83, 0); } } finally { test.Dispose(); } }
public void TestPowerZero() { PowerLayerTest test = new PowerLayerTest(); try { foreach (IPowerLayerTest t in test.Tests) { t.TestForward(0.0, 0.83, -2.4); } } finally { test.Dispose(); } }
public void TestPowerTwoScaleHalfGradient() { PowerLayerTest test = new PowerLayerTest(); try { foreach (IPowerLayerTest t in test.Tests) { t.TestForward(2.0, 0.5, -2.4); } } finally { test.Dispose(); } }