()
| 405 | |
| 406 | |
| 407 | def test_dot_method(): |
| 408 | x = np.arange(400).reshape((20, 20)) |
| 409 | a = da.from_array(x, chunks=(5, 5)) |
| 410 | y = np.arange(200).reshape((20, 10)) |
| 411 | b = da.from_array(y, chunks=(5, 5)) |
| 412 | |
| 413 | assert_eq(a.dot(b), x.dot(y)) |
| 414 | |
| 415 | |
| 416 | def test_dot_persist_equivalence(): |