aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate-tests.sh
blob: edf854925ee7ccb1f7ba0d9566c99bbf1b8d691c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# Copyright 2019 Google LLC
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

### Tests for QU8 micro-kernels
tools/generate-gemm-test.py --spec test/qu8-gemm-minmax.yaml --output test/qu8-gemm-minmax.cc
tools/generate-gemm-test.py --spec test/qu8-igemm-minmax.yaml --output test/qu8-igemm-minmax.cc
tools/generate-dwconv-test.py --spec test/qu8-dwconv-minmax.yaml --output test/qu8-dwconv-minmax.cc

### Tests for U8 micro-kernels
tools/generate-clamp-test.py --spec test/u8-clamp.yaml --output test/u8-clamp.cc

### Tests for packing micro-kernels
tools/generate-pack-test.py --spec test/x32-packx.yaml --output test/x32-packx.cc

### Tests for MaxPool micro-kernels
tools/generate-maxpool-test.py --spec test/u8-maxpool-minmax.yaml --output test/u8-maxpool-minmax.cc
tools/generate-maxpool-test.py --spec test/f32-maxpool-minmax.yaml --output test/f32-maxpool-minmax.cc

### Tests for AvgPool micro-kernels
tools/generate-avgpool-test.py --spec test/qu8-avgpool-minmax.yaml --output test/qu8-avgpool-minmax.cc
tools/generate-avgpool-test.py --spec test/f32-avgpool-minmax.yaml --output test/f32-avgpool-minmax.cc

### Tests for GAvgPool micro-kernels
tools/generate-gavgpool-test.py --spec test/f16-gavgpool-minmax.yaml --output test/f16-gavgpool-minmax.cc
tools/generate-gavgpool-test.py --spec test/f32-gavgpool-minmax.yaml --output test/f32-gavgpool-minmax.cc

### Tests for PAvgPool micro-kernels
tools/generate-avgpool-test.py --spec test/f32-pavgpool-minmax.yaml --output test/f32-pavgpool-minmax.cc

### Tests for ArgMaxPool micro-kernels
tools/generate-argmaxpool-test.py --spec test/f32-argmaxpool.yaml --output test/f32-argmaxpool.cc