Skip to content

Commit

Permalink
Adding one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
eldakms committed Apr 4, 2016
1 parent 365d477 commit cc1d54e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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"
]
]
]
18 changes: 18 additions & 0 deletions Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,24 @@ BOOST_AUTO_TEST_CASE(ExperimentalHTKMLFReaderSimpleDataLoop10)
1);
};

BOOST_AUTO_TEST_CASE(ExperimentalHTKMLFReaderSimpleDataLoop20)
{
HelperRunReaderTest<double>(
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()

}
Expand Down

0 comments on commit cc1d54e

Please sign in to comment.