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

Function linspace

dask/array/chunk.py:275–284  ·  view source on GitHub ↗
(start, stop, num, endpoint=True, dtype=None)

Source from the content-addressed store, hash-verified

273
274
275def linspace(start, stop, num, endpoint=True, dtype=None):
276 from dask.array.core import Array
277
278 if isinstance(start, Array):
279 start = start.compute()
280
281 if isinstance(stop, Array):
282 stop = stop.compute()
283
284 return np.linspace(start, stop, num, endpoint=endpoint, dtype=dtype)
285
286
287def astype(x, astype_dtype=None, **kwargs):

Callers

nothing calls this directly

Calls 1

computeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…