Home
last modified time | relevance | path

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

/external/XNNPACK/scripts/
Dgenerate-tests.sh23 tools/generate-avgpool-test.py --spec test/qu8-avgpool-minmax.yaml --output test/qu8-avgpool-minmax…
24 tools/generate-avgpool-test.py --spec test/f32-avgpool-minmax.yaml --output test/f32-avgpool-minmax…
31 tools/generate-avgpool-test.py --spec test/f32-pavgpool-minmax.yaml --output test/f32-pavgpool-minm…
/external/XNNPACK/src/operators/
Daverage-pooling-nhwc.c220 …round_up(doz(pooling_size, xnn_params.qu8.avgpool.mr), xnn_params.qu8.avgpool.qr) + xnn_params.qu8… in xnn_create_average_pooling2d_nhwc_qu8()
411 struct avgpool_parameters avgpool[restrict XNN_MIN_ELEMENTS(1)], in setup_average_pooling2d()
512 const uint32_t mr = is_pixelwise ? pavgpool->mr : avgpool->mr; in setup_average_pooling2d()
603 const uint32_t qr = avgpool->qr; in setup_average_pooling2d()
624 average_pooling_op->context.average_pooling.unipass_ukernel = avgpool->up; in setup_average_pooling2d()
627 average_pooling_op->context.average_pooling.multipass_ukernel = avgpool->mp; in setup_average_pooling2d()
676 &xnn_params.qu8.avgpool, in xnn_setup_average_pooling2d_nhwc_qu8()
718 &xnn_params.f32.avgpool, in xnn_setup_average_pooling2d_nhwc_f32()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dnn.mlir23 // CHECK-NEXT: name: "avgpool",
61 …de_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
/external/XNNPACK/test/
Daverage-pooling-nhwc.cc36 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
57 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
90 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
123 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
156 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
209 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
232 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
255 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
280 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
305 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.mr); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dmany_attribute_op.mlir7 …de_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc1318 auto* avgpool = new AveragePoolOperator; in ConvertAvgPoolOperator() local
1319 avgpool->inputs.push_back(input_name); in ConvertAvgPoolOperator()
1320 avgpool->outputs.push_back(node.name()); in ConvertAvgPoolOperator()
1325 avgpool->stride_height = strides.i(1); in ConvertAvgPoolOperator()
1326 avgpool->stride_width = strides.i(2); in ConvertAvgPoolOperator()
1331 avgpool->kheight = ksize.i(1); in ConvertAvgPoolOperator()
1332 avgpool->kwidth = ksize.i(2); in ConvertAvgPoolOperator()
1335 avgpool->padding.type = PaddingType::kSame; in ConvertAvgPoolOperator()
1337 avgpool->padding.type = PaddingType::kValid; in ConvertAvgPoolOperator()
1341 model->operators.emplace_back(avgpool); in ConvertAvgPoolOperator()
Dtooling_util.cc1987 const auto& avgpool = *static_cast<const AveragePoolOperator*>(&op); in EstimateArithmeticOpsCount() local
1993 avgpool.kheight * avgpool.kwidth; in EstimateArithmeticOpsCount()
/external/XNNPACK/src/
Dinit.c155 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
314 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
520 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
602 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
953 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
1243 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
1579 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
1722 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
2155 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
2276 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
[all …]
/external/XNNPACK/
DCMakeLists.txt255 src/f32-avgpool/9p8x-minmax-scalar-c1.c
256 src/f32-avgpool/9x-minmax-scalar-c1.c
626 src/qu8-avgpool/9p8x-minmax-scalar-c1.c
627 src/qu8-avgpool/9x-minmax-scalar-c1.c
668 src/f32-avgpool/9p8x-minmax-neon-c4.c
669 src/f32-avgpool/9x-minmax-neon-c4.c
1069 src/qu8-avgpool/9p8x-minmax-neon-c8.c
1070 src/qu8-avgpool/9x-minmax-neon-c8.c
1533 src/f32-avgpool/9p8x-minmax-sse-c4.c
1534 src/f32-avgpool/9x-minmax-sse-c4.c
[all …]
DBUILD.bazel129 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
130 "src/f32-avgpool/9x-minmax-scalar-c1.c",
500 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
501 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
540 "src/f32-avgpool/9p8x-minmax-wasm-c1.c",
541 "src/f32-avgpool/9x-minmax-wasm-c1.c",
730 "src/f32-avgpool/9p8x-minmax-wasmsimd-arm-c4.c",
731 "src/f32-avgpool/9p8x-minmax-wasmsimd-x86-c4.c",
732 "src/f32-avgpool/9x-minmax-wasmsimd-arm-c4.c",
733 "src/f32-avgpool/9x-minmax-wasmsimd-x86-c4.c",
[all …]
DAndroid.bp113 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
114 "src/f32-avgpool/9x-minmax-scalar-c1.c",
484 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
485 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
528 "src/f32-avgpool/9p8x-minmax-neon-c4.c",
529 "src/f32-avgpool/9x-minmax-neon-c4.c",
929 "src/qu8-avgpool/9p8x-minmax-neon-c8.c",
930 "src/qu8-avgpool/9x-minmax-neon-c8.c",
1399 "src/f32-avgpool/9p8x-minmax-sse-c4.c",
1400 "src/f32-avgpool/9x-minmax-sse-c4.c",
[all …]
/external/XNNPACK/src/xnnpack/
Dparams.h2016 struct avgpool_parameters avgpool; member
2044 struct avgpool_parameters avgpool; member
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dprepare-quantize.mlir169 …name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32, fused_activation_function = "NO…
466 …name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32, fused_activation_function = "NO…
Dquantize.mlir133 …%1 = "tfl.average_pool_2d"(%0) {name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32,…