/external/XNNPACK/test/ |
D | max-pooling-nhwc.cc | 19 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 …]
|
D | maxpool-microkernel-tester.h | 161 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/ |
D | generate-tests.sh | 19 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/ |
D | max-pooling-nhwc.c | 200 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/ |
D | cnn.h | 112 int maxpool; // whether to use maxpool or not (only effective when member
|
D | cnn.c | 401 if (layer_config->maxpool && in av1_cnn_convolve_c()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | import_tensorflow.cc | 1279 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()
|
D | tooling_util.cc | 1977 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/ |
D | init.c | 173 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/ |
D | params.h | 2021 struct maxpool_parameters maxpool; member 2047 struct maxpool_parameters maxpool; member
|
/external/XNNPACK/ |
D | CMakeLists.txt | 364 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 …]
|
D | BUILD.bazel | 238 "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 …]
|
D | Android.bp | 222 "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/ |
D | generic_layout_optimizer_transposer_test.cc | 2420 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()
|