MCPcopy
hub / github.com/dask/dask / ArrayValuesDep

Class ArrayValuesDep

dask/layers.py:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99
100class ArrayValuesDep(ArrayBlockwiseDep):
101 def __init__(self, chunks: tuple[tuple[int, ...], ...], values: np.ndarray | dict):
102 super().__init__(chunks)
103 self.values = values
104
105 def __getitem__(self, idx: tuple):
106 return self.values[idx]
107
108
109@normalize_token.register(ArraySliceDep)

Callers 2

map_blocksFunction · 0.90
map_blocksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…