public void TestInitialize() { DataLayerTest test = new DataLayerTest("MNIST"); try { foreach (IDataLayerTest t in test.Tests) { t.TestInitialization(test.SourceName); } } finally { test.Dispose(); } }
public void TestForward2() { DataLayerTest test = new DataLayerTest("MNIST"); try { foreach (IDataLayerTest t in test.Tests) { t.TestForward2(test.SourceName); } } finally { test.Dispose(); } }
public void TestReshapeLoadOnDemand() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { t.TestReshape(IMAGEDB_LOAD_METHOD.LOAD_ON_DEMAND); } } finally { test.Dispose(); } }
public void TestReshapeLoadAll() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { t.TestReshape(IMAGEDB_LOAD_METHOD.LOAD_ALL); } } finally { test.Dispose(); } }
public void TestSkipLoadAll() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { t.Fill(false); t.TestSkip(IMAGEDB_LOAD_METHOD.LOAD_ALL); } } finally { test.Dispose(); } }
public void TestReadLoadAll() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { bool unique_pixels = false; t.Fill(unique_pixels); t.TestRead(IMAGEDB_LOAD_METHOD.LOAD_ALL); } } finally { test.Dispose(); } }
public void TestReadCropTrainSequenceUnseededLoadOnDemand() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { bool unique_pixels = true; t.Fill(unique_pixels); t.TestReadCropSequenceSeeded(IMAGEDB_LOAD_METHOD.LOAD_ON_DEMAND); } } finally { test.Dispose(); } }
public void TestReadCropTestLoadOnDemand() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { bool unique_pixels = true; t.Fill(unique_pixels); t.TestReadCrop(Phase.TEST, IMAGEDB_LOAD_METHOD.LOAD_ON_DEMAND); } } finally { test.Dispose(); } }
public void TestReadCropTrainLoadAll() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { bool unique_pixels = true; t.Fill(unique_pixels); t.TestReadCrop(Phase.TRAIN, IMAGEDB_LOAD_METHOD.LOAD_ALL); } } finally { test.Dispose(); } }
public void TestReadCropTestLoadAll() { DataLayerTest test = new DataLayerTest(); try { foreach (IDataLayerTest t in test.Tests) { bool unique_pixels = true; for (int i = 0; i < 2; i++) { t.Fill(unique_pixels); t.TestReadCrop(Phase.TEST, IMAGEDB_LOAD_METHOD.LOAD_ALL); } } } finally { test.Dispose(); } }