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 RunTest<4>({{"Input", {1.0, 2.0, 3.0,
446 {{
"Output", {1.0 * 2 + 2.0 * 1 + 3.0 * 0 +
447 4.0 * 6 + 5.0 * 2 + 6.0 * 1 +
448 7.0 * 4 + 8.0 * 1 + 9.0 * 2}}});
453 RunTest<4>({{
"Input", {1.0, 2.0,
455 {{
"Output", {1.0 * 2 + 2.0 * 1 + 3.0 * 0 + 4 * 6 + 10,
456 2.0 * 2 + 0 * 1 + 4.0 * 0 + 0 * 6 + 10,
457 3.0 * 2 + 4.0 * 1 + 0 * 0 + 0 * 6 + 10,
458 4.0 * 2 + 0 * 1 + 0 * 0 + 0 * 6 + 10}}});
463 RunTest<4>({{
"Input", {1.0, 2.0, 3.0, 4.0, -1, -2, 3, 4, 1 , 1, 1, 1 }}},
464 {{
"Output", {-1 * 1 + 2 * -1, -1 * 2 + 2 * -2,
465 -1 * 3 + 2 * 3, -1 * 4 + 2 * 4,
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_FIXTURE_TEST_CASE(ValidConvTest, SimpleConv2DFixture)