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

Method _layer

dask/array/_array_expr/random.py:1023–1027  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1021 return self.operands("_meta")
1022
1023 def _layer(self) -> dict:
1024 return {
1025 k: (_choice_rs, state, self.array, size, self.replace, self.p)
1026 for k, state, size in zip(self.__dask_keys__(), self.state_data, self.sizes)
1027 }
1028
1029
1030class RandomChoiceGenerator(RandomChoice):

Callers

nothing calls this directly

Calls 1

__dask_keys__Method · 0.45

Tested by

no test coverage detected