|
5 | 5 | # This source code is licensed under the BSD-style license found in the
|
6 | 6 | # LICENSE file in the root directory of this source tree.
|
7 | 7 |
|
8 |
| -import logging |
9 | 8 | import unittest
|
10 | 9 |
|
11 | 10 | from typing import Tuple
|
|
15 | 14 | from executorch.backends.arm.test.tester.arm_tester import ArmTester
|
16 | 15 | from parameterized import parameterized
|
17 | 16 |
|
18 |
| -logger = logging.getLogger(__name__) |
19 |
| -logger.setLevel(logging.INFO) |
20 | 17 |
|
21 | 18 | test_data_suite = [
|
22 | 19 | # (test_name, test_data, dim)
|
23 |
| - ("zeros", torch.zeros(10, 10, 10, 10), 1), |
| 20 | + ("zeros", torch.zeros(10, 10, 10, 10), 0), |
| 21 | + ("zeros_neg_dim", torch.zeros(10, 10, 10, 10), -4), |
24 | 22 | ("ones", torch.ones(10, 10, 10, 10), 1),
|
| 23 | + ("ones_neg_dim", torch.ones(10, 10, 10, 10), -1), |
25 | 24 | ("rand", torch.rand(10, 10, 10, 10), 2),
|
| 25 | + ("rand_neg_dim", torch.rand(10, 10, 10, 10), -2), |
26 | 26 | ("randn", torch.randn(10, 10, 10, 10), 3),
|
| 27 | + ("randn_neg_dim", torch.randn(10, 10, 10, 10), -3), |
27 | 28 | ]
|
28 | 29 |
|
29 | 30 |
|
|
0 commit comments