Skip to content

Commit

Permalink
Replaced gavgpool and gsumpool with static_reduce.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 689348265
  • Loading branch information
Misha Gutman authored and xnnpack-bot committed Oct 24, 2024
1 parent bdfdb7a commit edd5da7
Show file tree
Hide file tree
Showing 48 changed files with 198 additions and 8,662 deletions.
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ SET(OPERATOR_SRCS
src/operators/deconvolution-nhwc.c
src/operators/dynamic-fully-connected-nc.c
src/operators/fully-connected-nc.c
src/operators/global-average-pooling-ncw.c
src/operators/global-average-pooling-nwc.c
src/operators/lut-elementwise-nc.c
src/operators/max-pooling-nhwc.c
src/operators/pack-lh.c
Expand Down Expand Up @@ -468,8 +466,6 @@ SET(SUBGRAPH_SRCS
src/subgraph/fully-connected-sparse.c
src/subgraph/fully-connected.c
src/subgraph/gelu.c
src/subgraph/global-average-pooling.c
src/subgraph/global-sum-pooling.c
src/subgraph/hardswish.c
src/subgraph/leaky-relu.c
src/subgraph/log.c
Expand Down Expand Up @@ -512,7 +508,6 @@ SET(XNNPACK_SRCS
src/configs/dwconv2d-chw-config.c
src/configs/experiments-config.c
src/configs/gavgpool-config.c
src/configs/gavgpool-cw-config.c
src/configs/gemm-config.c
src/configs/ibilinear-chw-config.c
src/configs/ibilinear-config.c
Expand Down Expand Up @@ -1480,7 +1475,6 @@ IF(XNNPACK_BUILD_TESTS)
f16-conv-hwc2chw
f16-f32acc-rdsum
f16-f32acc-rsum
f16-gavgpool-cw
f16-gavgpool-minmax
f16-ibilinear-chw
f16-ibilinear
Expand All @@ -1492,7 +1486,6 @@ IF(XNNPACK_BUILD_TESTS)
f16-vmulcaddc-minmax
f32-conv-hwc
f32-conv-hwc2chw
f32-gavgpool-cw
f32-gavgpool-minmax
f32-ibilinear-chw
f32-ibilinear
Expand Down Expand Up @@ -1950,7 +1943,6 @@ IF(XNNPACK_BUILD_BENCHMARKS)
deconvolution
elu
floor
global-average-pooling
hardswish
leaky-relu
max-pooling
Expand Down Expand Up @@ -1983,7 +1975,6 @@ IF(XNNPACK_BUILD_BENCHMARKS)
f16-f32acc-igemm
f16-f32acc-rdsum
f16-f32acc-rsum
f16-gavgpool-cw
f16-gemm
f16-gemm-minmax
f16-igemm
Expand All @@ -1999,7 +1990,6 @@ IF(XNNPACK_BUILD_BENCHMARKS)
f32-dwconv
f32-dwconv2d-chw
f32-f16-vcvt
f32-gavgpool-cw
f32-gemm
f32-gemm-goi-minmax
f32-gemm-minmax
Expand Down
9 changes: 0 additions & 9 deletions bench/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,10 @@ xnnpack_benchmark(
],
deps = MICROKERNEL_BENCHMARK_DEPS,
) for kernel in [
"f16_gavgpool_cw",
"f16_raddstoreexpminusmax",
"f16_rmax",
"f16_rminmax",
"f16_rmin",
"f32_gavgpool_cw",
"f32_raddexpminusmax",
"f32_raddextexp",
"f32_raddstoreexpminusmax",
Expand Down Expand Up @@ -641,13 +639,6 @@ xnnpack_benchmark(
deps = OPERATOR_BENCHMARK_DEPS + xnnpack_optional_tflite_deps(),
)

xnnpack_benchmark(
name = "global_average_pooling_bench",
srcs = ["global-average-pooling.cc"],
tags = xnnpack_slow_benchmark_tags(),
deps = OPERATOR_BENCHMARK_DEPS,
)

xnnpack_benchmark(
name = "max_pooling_bench",
srcs = ["max-pooling.cc"],
Expand Down
76 changes: 0 additions & 76 deletions bench/f16-gavgpool-cw.cc

This file was deleted.

106 changes: 0 additions & 106 deletions bench/f32-gavgpool-cw.cc

This file was deleted.

Loading

0 comments on commit edd5da7

Please sign in to comment.