You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements statistical functions mean, std, var (#1465)
* Resolvesgh-1456
Tree reductions now populate destination with the identity when reducing over
zero-size axes. As a result, logic was removed for handling zero-size axes.
``argmax``, ``argmin``, ``max``, and ``min`` still raise an error for
zero-size axes.
Reductions now return a copy when provided an empty axis tuple.
Adds additional supported dtype combinations to ``prod`` and ``sum``, specifically for input integers and inexact output type
* Implements mean, var, and std
* Adds more tests for statistical functions
* Adds docstrings for statistical functions
* Adds more supported types to arithmetic reductions
Permits `float` accumulation type with 64 bit integer and unsigned integer inouts
to prevent unnecessary copies on devices that don't support double precision
* Changes mean reduction to use output data type as sum accumulation type
Mean in-place division now uses the real type for the denominator
0 commit comments