13 PoolingMainFixture(
const std::string& dataType,
const std::string& op)
18 producer_version: "2.5.1" 27 elem_type: )" + dataType + R"( 49 op_type: )" + op + R"( 100 struct MaxPoolValidFixture : PoolingMainFixture
102 MaxPoolValidFixture() : PoolingMainFixture(
"1",
"\"MaxPool\"") {
107 struct MaxPoolInvalidFixture : PoolingMainFixture
109 MaxPoolInvalidFixture() : PoolingMainFixture(
"10",
"\"MaxPool\"") { }
114 RunTest<4>({{
"Input", {1.0f, 2.0f, 3.0f, -4.0f}}}, {{
"Output", {3.0f}}});
117 struct AvgPoolValidFixture : PoolingMainFixture
119 AvgPoolValidFixture() : PoolingMainFixture(
"1",
"\"AveragePool\"") {
126 PoolingWithPadFixture()
130 producer_name: "CNTK" 131 producer_version: "2.5.1" 162 op_type: "AveragePool" 184 name: "count_include_pad" 221 RunTest<4>({{
"Input", {1.0f, 2.0f, 3.0f, -4.0f}}}, {{
"Output", {0.5}}});
226 RunTest<4>({{
"Input", {1.0f, 2.0f, 3.0f, -4.0f}}}, {{
"Output", {1.0/8.0}}});
235 producer_name: "CNTK" 236 producer_version: "2.5.1" 267 op_type: "GlobalAveragePool" 301 RunTest<4>({{
"Input", {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0}}}, {{
"Output", {10/4.0, 26/4.0}}});
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")