6 #include <boost/test/unit_test.hpp> 19 producer_version: "2.5.1" 154 Conv2DWithBiasesFixture() {
157 producer_name: "CNTK" 158 producer_version: "2.5.1" 312 Conv2DDimReducingFixture() {
315 producer_name: "CNTK" 316 producer_version: "2.5.1" 443 Conv2DwithDilationFixture()
447 producer_name: "CNTK" 448 producer_version: "2.5.1" 583 RunTest<4>({{"Input", {1.0, 2.0, 3.0,
586 {{
"Output", {1.0 * 2 + 2.0 * 1 + 3.0 * 0 +
587 4.0 * 6 + 5.0 * 2 + 6.0 * 1 +
588 7.0 * 4 + 8.0 * 1 + 9.0 * 2}}});
593 RunTest<4>({{
"Input", {1.0, 2.0,
595 {{
"Output", {1.0 * 2 + 2.0 * 1 + 3.0 * 0 + 4 * 6 + 10,
596 2.0 * 2 + 0 * 1 + 4.0 * 0 + 0 * 6 + 10,
597 3.0 * 2 + 4.0 * 1 + 0 * 0 + 0 * 6 + 10,
598 4.0 * 2 + 0 * 1 + 0 * 0 + 0 * 6 + 10}}});
603 RunTest<4>({{
"Input", {1.0, 2.0, 3.0, 4.0, -1, -2, 3, 4, 1 , 1, 1, 1 }}},
604 {{
"Output", {-1 * 1 + 2 * -1, -1 * 2 + 2 * -2,
605 -1 * 3 + 2 * 3, -1 * 4 + 2 * 4,
611 RunTest<4>({{
"Input", {1.0, 2.0, 3.0, 4.0, 5.0, 6.0,
612 7.0, 8.0, 9.0, 10.0, 11.0, 12.0,
613 1.0, 2.0, 3.0, 4.0, 5.0, 6.0,
614 7.0, 8.0, 9.0, 10.0, 11.0, 12.0,
615 1.0, 2.0, 3.0, 4.0, 5.0, 6.0,
616 7.0, 8.0, 9.0, 10.0, 11.0, 12.0}}},
617 {{
"Output", {39.0, 58.0, 153.0, 172.0 }}});
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_FIXTURE_TEST_CASE(ValidConvTest, SimpleConv2DFixture)