/external/XNNPACK/scripts/ |
D | generate-tests.sh | 23 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/ |
D | average-pooling-nhwc.c | 220 …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/ |
D | nn.mlir | 23 // CHECK-NEXT: name: "avgpool", 61 …de_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
|
/external/XNNPACK/test/ |
D | average-pooling-nhwc.cc | 36 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/ |
D | many_attribute_op.mlir | 7 …de_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
|
/external/tensorflow/tensorflow/lite/toco/ |
D | import_tensorflow.cc | 1318 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()
|
D | tooling_util.cc | 1987 const auto& avgpool = *static_cast<const AveragePoolOperator*>(&op); in EstimateArithmeticOpsCount() local 1993 avgpool.kheight * avgpool.kwidth; in EstimateArithmeticOpsCount()
|
/external/XNNPACK/src/ |
D | init.c | 155 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/ |
D | CMakeLists.txt | 255 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 …]
|
D | BUILD.bazel | 129 "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 …]
|
D | Android.bp | 113 "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/ |
D | params.h | 2016 struct avgpool_parameters avgpool; member 2044 struct avgpool_parameters avgpool; member
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/ |
D | prepare-quantize.mlir | 169 …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…
|
D | quantize.mlir | 133 …%1 = "tfl.average_pool_2d"(%0) {name = "avgpool", filter_height = 3 : i32, filter_width = 6 : i32,…
|