Home
last modified time | relevance | path

Searched refs:maxpool (Results 1 – 14 of 14) sorted by relevance

/external/XNNPACK/test/
Dmax-pooling-nhwc.cc19 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
35 for (size_t pool_size = 3; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
57 for (size_t pool_size = 3; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
76 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
93 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
112 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
128 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
150 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
169 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
186 for (size_t pool_size = 2; pool_size <= xnn_params.u8.maxpool.mr; pool_size++) { in TEST()
[all …]
Dmaxpool-microkernel-tester.h161 void Test(xnn_u8_maxpool_ukernel_function maxpool, Variant variant = Variant::Native) const {
209 maxpool(output_pixels(), pooling_elements(), channels(),
235 void Test(xnn_f32_maxpool_ukernel_function maxpool, Variant variant = Variant::Native) const {
292 maxpool(output_pixels(), pooling_elements(), channels(),
/external/XNNPACK/scripts/
Dgenerate-tests.sh19 tools/generate-maxpool-test.py --spec test/u8-maxpool-minmax.yaml --output test/u8-maxpool-minmax.cc
20 tools/generate-maxpool-test.py --spec test/f32-maxpool-minmax.yaml --output test/f32-maxpool-minmax…
/external/XNNPACK/src/operators/
Dmax-pooling-nhwc.c200 struct maxpool_parameters maxpool[restrict XNN_MIN_ELEMENTS(1)], in setup_max_pooling2d_nhwc()
264 const uint32_t mr = maxpool->mr; in setup_max_pooling2d_nhwc()
290 const uint32_t qr = maxpool->qr; in setup_max_pooling2d_nhwc()
311 .ukernel = maxpool->ukernel, in setup_max_pooling2d_nhwc()
438 &xnn_params.u8.maxpool, in xnn_setup_max_pooling2d_nhwc_u8()
465 &xnn_params.f32.maxpool, in xnn_setup_max_pooling2d_nhwc_f32()
/external/libaom/libaom/av1/encoder/
Dcnn.h112 int maxpool; // whether to use maxpool or not (only effective when member
Dcnn.c401 if (layer_config->maxpool && in av1_cnn_convolve_c()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc1279 auto* maxpool = new MaxPoolOperator; in ConvertMaxPoolOperator() local
1280 maxpool->inputs.push_back(input_name); in ConvertMaxPoolOperator()
1281 maxpool->outputs.push_back(node.name()); in ConvertMaxPoolOperator()
1286 maxpool->stride_height = strides.i(1); in ConvertMaxPoolOperator()
1287 maxpool->stride_width = strides.i(2); in ConvertMaxPoolOperator()
1292 maxpool->kheight = ksize.i(1); in ConvertMaxPoolOperator()
1293 maxpool->kwidth = ksize.i(2); in ConvertMaxPoolOperator()
1296 maxpool->padding.type = PaddingType::kSame; in ConvertMaxPoolOperator()
1298 maxpool->padding.type = PaddingType::kValid; in ConvertMaxPoolOperator()
1302 model->operators.emplace_back(maxpool); in ConvertMaxPoolOperator()
Dtooling_util.cc1977 const auto& maxpool = *static_cast<const MaxPoolOperator*>(&op); in EstimateArithmeticOpsCount() local
1983 maxpool.kheight * maxpool.kwidth; in EstimateArithmeticOpsCount()
1997 const auto* maxpool = static_cast<const MaxPoolOperator*>(&op); in EstimateArithmeticOpsCount() local
2004 const int64 cost_per_val = 2 * maxpool->kheight * maxpool->kwidth + 32; in EstimateArithmeticOpsCount()
/external/XNNPACK/src/
Dinit.c173 xnn_params.u8.maxpool = (struct maxpool_parameters) { in init()
331 xnn_params.f32.maxpool = (struct maxpool_parameters) { in init()
538 xnn_params.u8.maxpool = (struct maxpool_parameters) { in init()
619 xnn_params.f32.maxpool = (struct maxpool_parameters) { in init()
971 xnn_params.u8.maxpool = (struct maxpool_parameters) { in init()
1260 xnn_params.f32.maxpool = (struct maxpool_parameters) { in init()
1597 xnn_params.u8.maxpool = (struct maxpool_parameters) { in init()
1739 xnn_params.f32.maxpool = (struct maxpool_parameters) { in init()
2173 xnn_params.u8.maxpool = (struct maxpool_parameters) { in init()
2313 xnn_params.f32.maxpool = (struct maxpool_parameters) { in init()
[all …]
/external/XNNPACK/src/xnnpack/
Dparams.h2021 struct maxpool_parameters maxpool; member
2047 struct maxpool_parameters maxpool; member
/external/XNNPACK/
DCMakeLists.txt364 src/f32-maxpool/9p8x-minmax-scalar-c1.c
642 src/u8-maxpool/9p8x-minmax-scalar-c1.c
791 src/f32-maxpool/9p8x-minmax-neon-c4.c
1083 src/u8-maxpool/9p8x-minmax-neon-c16.c
1637 src/f32-maxpool/9p8x-minmax-sse-c4.c
1842 src/u8-maxpool/9p8x-minmax-sse2-c16.c
3701 ADD_EXECUTABLE(f32-maxpool-minmax-test test/f32-maxpool-minmax.cc)
3702 SET_TARGET_PROPERTIES(f32-maxpool-minmax-test PROPERTIES
3706 TARGET_INCLUDE_DIRECTORIES(f32-maxpool-minmax-test PRIVATE src test)
3707 TARGET_LINK_LIBRARIES(f32-maxpool-minmax-test PRIVATE XNNPACK cpuinfo fp16 gtest gtest_main)
[all …]
DBUILD.bazel238 "src/f32-maxpool/9p8x-minmax-scalar-c1.c",
516 "src/u8-maxpool/9p8x-minmax-scalar-c1.c",
601 "src/f32-maxpool/9p8x-minmax-wasm-c1.c",
1056 "src/f32-maxpool/9p8x-minmax-wasmsimd-arm-c4.c",
1057 "src/f32-maxpool/9p8x-minmax-wasmsimd-x86-c4.c",
1542 "src/f32-maxpool/9p8x-minmax-neon-c4.c",
1834 "src/u8-maxpool/9p8x-minmax-neon-c16.c",
2394 "src/f32-maxpool/9p8x-minmax-sse-c4.c",
2600 "src/u8-maxpool/9p8x-minmax-sse2-c16.c",
3596 "src/xnnpack/maxpool.h",
[all …]
DAndroid.bp222 "src/f32-maxpool/9p8x-minmax-scalar-c1.c",
500 "src/u8-maxpool/9p8x-minmax-scalar-c1.c",
651 "src/f32-maxpool/9p8x-minmax-neon-c4.c",
943 "src/u8-maxpool/9p8x-minmax-neon-c16.c",
1503 "src/f32-maxpool/9p8x-minmax-sse-c4.c",
1709 "src/u8-maxpool/9p8x-minmax-sse2-c16.c",
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer_test.cc2420 auto* maxpool = context.graph_view->GetNode("maxpoolv2"); in TEST_F() local
2421 ASSERT_NE(maxpool, nullptr); in TEST_F()
2422 TF_ASSERT_OK(maxpool_transposer.TransposeNode(&context, maxpool)); in TEST_F()