()
| 111 | |
| 112 | |
| 113 | def test_max(): |
| 114 | common_test_reduce(opr=F.max, ref_opr=np.max) |
| 115 | |
| 116 | x = Tensor(np.arange(1, 7, dtype=np.int32).reshape(2, 3)) |
| 117 | y = F.max(x, axis=-1) |
| 118 | np.testing.assert_equal(y.numpy(), np.array([3, 6]).astype(np.int32)) |
| 119 | |
| 120 | |
| 121 | def test_argmin(): |
nothing calls this directly
no test coverage detected