Home
last modified time | relevance | path

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

/external/XNNPACK/scripts/
Dgenerate-tests.sh21 tools/generate-avgpool-test.py --spec test/f16-avgpool-minmax.yaml --output test/f16-avgpool-minmax…
22 tools/generate-avgpool-test.py --spec test/f32-avgpool-minmax.yaml --output test/f32-avgpool-minmax…
23 tools/generate-avgpool-test.py --spec test/qu8-avgpool-minmax.yaml --output test/qu8-avgpool-minmax…
29 tools/generate-avgpool-test.py --spec test/f16-pavgpool-minmax.yaml --output test/f16-pavgpool-minm…
30 tools/generate-avgpool-test.py --spec test/f32-pavgpool-minmax.yaml --output test/f32-pavgpool-minm…
/external/XNNPACK/src/operators/
Daverage-pooling-nhwc.c225 …oz(pooling_size, xnn_params.qu8.avgpool.primary_tile), xnn_params.qu8.avgpool.incremental_tile) + … in xnn_create_average_pooling2d_nhwc_qu8()
227 xnn_params.qu8.avgpool.init.qu8(&average_pooling_op->params.qu8_avgpool, in xnn_create_average_pooling2d_nhwc_qu8()
415 xnn_params.f16.avgpool.init.f16(&average_pooling_op->params.f16_scaleminmax, in xnn_create_average_pooling2d_nhwc_f16()
591 xnn_params.f32.avgpool.init.f32(&average_pooling_op->params.f32_scaleminmax, in xnn_create_average_pooling2d_nhwc_f32()
620 struct avgpool_parameters avgpool[restrict XNN_MIN_ELEMENTS(1)], in setup_average_pooling2d()
723 const uint32_t primary_tile = is_pixelwise ? pavgpool->primary_tile : avgpool->primary_tile; in setup_average_pooling2d()
807 const uint32_t incremental_tile = avgpool->incremental_tile; in setup_average_pooling2d()
828 average_pooling_op->context.average_pooling.unipass_ukernel = avgpool->unipass; in setup_average_pooling2d()
831 average_pooling_op->context.average_pooling.multipass_ukernel = avgpool->multipass; in setup_average_pooling2d()
878 &xnn_params.qu8.avgpool, in xnn_setup_average_pooling2d_nhwc_qu8()
[all …]
/external/XNNPACK/test/
Daverage-pooling-nhwc.cc36 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
57 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
90 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
123 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
156 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
209 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
232 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
255 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
280 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
305 const std::pair<size_t, size_t> pooling_size = SmallPoolSize(xnn_params.qu8.avgpool.primary_tile); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dnn.mlir24 // CHECK-NEXT: name: "avgpool",
63 …de_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
/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/XNNPACK/src/xnnpack/
Dparams.h513 struct avgpool_parameters avgpool; member
545 struct avgpool_parameters avgpool; member
596 struct avgpool_parameters avgpool; member
/external/XNNPACK/doc/
Dmicrokernel-naming-conventions.md31 - `avgpool`
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc1325 auto* avgpool = new AveragePoolOperator; in ConvertAvgPoolOperator() local
1326 avgpool->inputs.push_back(input_name); in ConvertAvgPoolOperator()
1327 avgpool->outputs.push_back(node.name()); in ConvertAvgPoolOperator()
1332 avgpool->stride_height = strides.i(1); in ConvertAvgPoolOperator()
1333 avgpool->stride_width = strides.i(2); in ConvertAvgPoolOperator()
1338 avgpool->kheight = ksize.i(1); in ConvertAvgPoolOperator()
1339 avgpool->kwidth = ksize.i(2); in ConvertAvgPoolOperator()
1342 avgpool->padding.type = PaddingType::kSame; in ConvertAvgPoolOperator()
1344 avgpool->padding.type = PaddingType::kValid; in ConvertAvgPoolOperator()
1348 model->operators.emplace_back(avgpool); in ConvertAvgPoolOperator()
Dtooling_util.cc1989 const auto& avgpool = *static_cast<const AveragePoolOperator*>(&op); in EstimateArithmeticOpsCount() local
1995 avgpool.kheight * avgpool.kwidth; in EstimateArithmeticOpsCount()
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/tests/
Dquantize_composite_functions.mlir155 // CHECK: %[[avgpool:.*]] = "tf.AvgPool"(%[[cast_1]]) {data_format = "NHWC", ksize = [1, 2, 2, 1], …
156 // CHECK: %[[add:.*]] = "tf.AddV2"(%[[avgpool]], %[[cst]]) : (tensor<*xf32>, tensor<f32>) -> tensor…
/external/XNNPACK/src/
Dinit.c709 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
973 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
1425 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
1589 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
2477 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
2711 xnn_params.f16.avgpool = (struct avgpool_parameters) { in init()
3180 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
3964 xnn_params.qu8.avgpool = (struct avgpool_parameters) { in init()
4244 xnn_params.f16.avgpool = (struct avgpool_parameters) { in init()
4551 xnn_params.f32.avgpool = (struct avgpool_parameters) { in init()
[all …]
/external/XNNPACK/
DCMakeLists.txt315 src/f32-avgpool/9p8x-minmax-scalar-c1.c
316 src/f32-avgpool/9x-minmax-scalar-c1.c
418 src/qu8-avgpool/9p8x-minmax-scalar-c1.c
419 src/qu8-avgpool/9x-minmax-scalar-c1.c
463 src/f32-avgpool/9p8x-minmax-scalar-c1.c
464 src/f32-avgpool/9x-minmax-scalar-c1.c
566 src/qu8-avgpool/9p8x-minmax-scalar-c1.c
567 src/qu8-avgpool/9x-minmax-scalar-c1.c
629 src/f32-avgpool/9p8x-minmax-scalar-c1.c
630 src/f32-avgpool/9x-minmax-scalar-c1.c
[all …]
DBUILD.bazel176 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
177 "src/f32-avgpool/9x-minmax-scalar-c1.c",
277 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
278 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
323 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
324 "src/f32-avgpool/9x-minmax-scalar-c1.c",
424 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
425 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
474 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
475 "src/f32-avgpool/9x-minmax-scalar-c1.c",
[all …]
DAndroid.bp135 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
136 "src/f32-avgpool/9x-minmax-scalar-c1.c",
236 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
237 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
282 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
283 "src/f32-avgpool/9x-minmax-scalar-c1.c",
383 "src/qu8-avgpool/9p8x-minmax-scalar-c1.c",
384 "src/qu8-avgpool/9x-minmax-scalar-c1.c",
433 "src/f32-avgpool/9p8x-minmax-scalar-c1.c",
434 "src/f32-avgpool/9x-minmax-scalar-c1.c",
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dprepare-quantize.mlir244 …name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32, fused_activation_function = "NO…
541 …name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32, fused_activation_function = "NO…
Dquantize.mlir134 …%1 = "tfl.average_pool_2d"(%0) {name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32,…