mean
mean(
patch: Patch ,
dim: str | None[str, None] = None,
)-> ‘PatchType’
Calculate the mean along one or more dimensions.
Parameters
Parameter | Description |
---|---|
patch | The input Patch. |
dim |
The dimension along which aggregations are to be performed. If None, apply aggregation to all dimensions sequentially. If a sequence, apply sequentially in order provided. |
Note
See Patch.aggregate
for examples and more details.