MCPcopy
hub / github.com/dask/dask / test_view_fortran

Function test_view_fortran

dask/array/tests/test_array_core.py:3601–3605  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3599
3600
3601def test_view_fortran():
3602 x = np.asfortranarray(np.arange(64).reshape((8, 8)))
3603 d = da.from_array(x, chunks=(2, 3))
3604 assert_eq(x.T.view("i4").T, d.view("i4", order="F"))
3605 assert_eq(x.T.view("i2").T, d.view("i2", order="F"))
3606
3607
3608def test_h5py_tokenize():

Callers

nothing calls this directly

Calls 4

assert_eqFunction · 0.90
reshapeMethod · 0.80
viewMethod · 0.80
arangeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…