turicreate.SArray.mean — Turi Create API 6.4.1 documentation (original) (raw)

Turi Create API


SArray. mean()

Mean of all the values in the SArray, or mean image.

Returns None on an empty SArray. Raises an exception if called on an SArray with non-numeric type or non-Image type.

Returns: out : float | turicreate.Image Mean of all values in SArray, or image holding per-pixel mean across the input SArray.