()
| 1323 | |
| 1324 | |
| 1325 | def test_matmul_array_ufunc(): |
| 1326 | # regression test for https://github.com/dask/dask/issues/4353 |
| 1327 | rng = np.random.default_rng() |
| 1328 | x = rng.random((5, 5)) |
| 1329 | y = rng.random((5, 2)) |
| 1330 | a = from_array(x, chunks=(1, 5)) |
| 1331 | b = from_array(y, chunks=(5, 1)) |
| 1332 | result = b.__array_ufunc__(np.matmul, "__call__", a, b) |
| 1333 | assert_eq(result, x.dot(y)) |
| 1334 | |
| 1335 | |
| 1336 | def test_T(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…