diff --git a/Tests/UnitTests/ReaderTests/Config/ExperimentalHtkmlfReaderSimpleDataLoop20_Config.cntk b/Tests/UnitTests/ReaderTests/Config/ExperimentalHtkmlfReaderSimpleDataLoop20_Config.cntk new file mode 100644 index 000000000000..f4bf0c4e2c67 --- /dev/null +++ b/Tests/UnitTests/ReaderTests/Config/ExperimentalHtkmlfReaderSimpleDataLoop20_Config.cntk @@ -0,0 +1,34 @@ +RootDir = . +DataDir = $RootDir$ + +# deviceId = -1 for CPU, >= 0 for GPU devices +deviceId = -1 + +precision = "double" + +Simple_Test = [ + reader = [ + readerType = "ExperimentalHTKMLFReader" + readMethod = "blockRandomize" + miniBatchMode = "partial" + randomize = "auto" + verbosity = 2 + + features1 = [ + dim = 363 + scpFile = "$DataDir$/glob_0000.scp" + type = "real" + ] + features2 = [ + dim = 363 + scpFile = "$DataDir$/glob_0000.scp" + type = "real" + ] + labels = [ + mlfFile = "$DataDir$/glob_0000.mlf" + labelMappingFile = "$DataDir$/state.list" + labelDim = 132 + labelType = "category" + ] + ] +] \ No newline at end of file diff --git a/Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp b/Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp index 76dedad8aca5..5f98d211d86a 100644 --- a/Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp +++ b/Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp @@ -542,6 +542,24 @@ BOOST_AUTO_TEST_CASE(ExperimentalHTKMLFReaderSimpleDataLoop10) 1); }; +BOOST_AUTO_TEST_CASE(ExperimentalHTKMLFReaderSimpleDataLoop20) +{ + HelperRunReaderTest( + testDataPath() + "/Config/ExperimentalHtkmlfReaderSimpleDataLoop20_Config.cntk", + testDataPath() + "/Control/HTKMLFReaderSimpleDataLoop10_20_Control.txt", + testDataPath() + "/Control/HTKMLFReaderSimpleDataLoop20_Output.txt", + "Simple_Test", + "reader", + 500, + 250, + 2, + 2, + 1, + 0, + 1); +}; + + BOOST_AUTO_TEST_SUITE_END() }