Function
nansum
(a, axis=None, dtype=None, keepdims=False, split_every=None, out=None)
Source from the content-addressed store, hash-verified
| 179 | |
| 180 | @derived_from(np) |
| 181 | def nansum(a, axis=None, dtype=None, keepdims=False, split_every=None, out=None): |
| 182 | if dtype is not None: |
| 183 | dt = dtype |
| 184 | else: |
| 185 | dt = getattr(chunk.nansum(np.ones((1,), dtype=a.dtype)), "dtype", object) |
| 186 | return reduction( |
| 187 | a, |
| 188 | chunk.nansum, |
| 189 | chunk.sum, |
| 190 | axis=axis, |
| 191 | keepdims=keepdims, |
| 192 | dtype=dt, |
| 193 | split_every=split_every, |
| 194 | out=out, |
| 195 | ) |
| 196 | |
| 197 | |
| 198 | @derived_from(np) |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…