1 | /******************************************************************************* |
2 | * Copyright 2017-2022 Intel Corporation |
3 | * |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | * you may not use this file except in compliance with the License. |
6 | * You may obtain a copy of the License at |
7 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * |
10 | * Unless required by applicable law or agreed to in writing, software |
11 | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. |
15 | *******************************************************************************/ |
16 | |
17 | CPU_INST_TEST_CASE(SimpleSmall_Blocked_Attributes, |
18 | PARAMS_ATTR(nhwc, FMT_WEIGHTS_BLOCKED16, FMT_BIAS, nhwc, 0.5f, COMMON, |
19 | 2, 1, 32, 13, 13, 32, 12, 12, 3, 3, 0, 0, 1, 1), |
20 | PARAMS_ATTR(nhwc, FMT_WEIGHTS_BLOCKED16, FMT_BIAS, nhwc, 0.5f, COMMON, |
21 | 2, 1, 32, 13, 13, 32, 12, 12, 3, 3, 0, 0, 1, 1), |
22 | PARAMS_ATTR(nhwc, FMT_WEIGHTS_BLOCKED16, FMT_BIAS, nhwc, 0.5f, COMMON, |
23 | 2, 1, 32, 13, 13, 32, 12, 12, 3, 3, 0, 0, 1, 1), |
24 | PARAMS_ATTR(nhwc, FMT_WEIGHTS_BLOCKED16, FMT_BIAS, nhwc, 0.5f, COMMON, |
25 | 2, 1, 32, 13, 13, 32, 12, 12, 3, 3, 0, 0, 1, 1)); |
26 | |
27 | GPU_INST_TEST_CASE(SimpleSmall_Plain_Attributes, |
28 | PARAMS_ATTR(nhwc, oihw, FMT_NO_BIAS, nchw, 0.3f, COMMON, 2, 1, 2, 1, 1, |
29 | 2, 1, 1, 1, 1, 0, 0, 1, 1), |
30 | PARAMS_ATTR(nhwc, oihw, FMT_BIAS, nchw, 0.3f, COMMON, 2, 1, 2, 1, 1, 2, |
31 | 1, 1, 1, 1, 0, 0, 1, 1)); |
32 | |