MCPcopy Index your code
hub / github.com/dask/dask / test_tile_basic

Function test_tile_basic

dask/array/tests/test_creation.py:754–759  ·  view source on GitHub ↗
(reps)

Source from the content-addressed store, hash-verified

752
753@pytest.mark.parametrize("reps", [2, (2, 2), (1, 2), (2, 1), (2, 3, 4, 0)])
754def test_tile_basic(reps):
755 a = da.asarray([0, 1, 2])
756 b = [[1, 2], [3, 4]]
757
758 assert_eq(np.tile(a.compute(), reps), da.tile(a, reps))
759 assert_eq(np.tile(b, reps), da.tile(b, reps))
760
761
762@pytest.mark.parametrize("shape, chunks", [((10,), (1,)), ((10, 11, 13), (4, 5, 3))])

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
computeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…