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

Function _count

dask/array/stats.py:470–474  ·  view source on GitHub ↗
(x, axis=None)

Source from the content-addressed store, hash-verified

468
469
470def _count(x, axis=None):
471 if axis is None:
472 return x.size
473 else:
474 return x.shape[axis]
475
476
477def _sum_of_squares(a, axis=0):

Callers 1

power_divergenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected