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

Method args

dask/array/_array_expr/_blockwise.py:321–336  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

319
320 @property
321 def args(self):
322 # for Blockwise rather than Elemwise
323 return tuple(
324 toolz.concat(
325 (
326 a,
327 (
328 tuple(range(a.ndim)[::-1])
329 if not is_scalar_for_elemwise(a)
330 else None
331 ),
332 )
333 for a in self.elemwise_args
334 + ([self.where] if self.where is not True else [])
335 )
336 )
337
338
339class Transpose(Blockwise):

Callers

nothing calls this directly

Calls 1

is_scalar_for_elemwiseFunction · 0.90

Tested by

no test coverage detected