()
| 717 | |
| 718 | |
| 719 | def test_blockwise_no_array_args(): |
| 720 | def f(dtype): |
| 721 | return np.ones((2, 3), dtype) |
| 722 | |
| 723 | x = da.blockwise( |
| 724 | f, "ab", np.float32, None, new_axes={"a": 2, "b": (3, 3)}, dtype=np.float32 |
| 725 | ) |
| 726 | assert x.chunks == ((2,), (3, 3)) |
| 727 | assert_eq(x, np.ones((2, 6), np.float32)) |
| 728 | |
| 729 | |
| 730 | def test_blockwise_kwargs(): |