MCPcopy Create free account
hub / github.com/dask/dask / dims

Method dims

dask/blockwise.py:592–598  ·  view source on GitHub ↗

Returns a dictionary mapping between each index specified in `self.indices` and the number of output blocks for that indice.

(self)

Source from the content-addressed store, hash-verified

590
591 @property
592 def dims(self):
593 """Returns a dictionary mapping between each index specified in
594 `self.indices` and the number of output blocks for that indice.
595 """
596 if not hasattr(self, "_dims"):
597 self._dims = _make_dims(self.indices, self.numblocks, self.new_axes)
598 return self._dims
599
600 def __repr__(self):
601 return f"Blockwise<{self.indices} -> {self.output}>"

Callers

nothing calls this directly

Calls 1

_make_dimsFunction · 0.85

Tested by

no test coverage detected