aggregate
aggregate(
patch: Patch ,
dim: str ,
method: Literal[‘mean’, ‘median’, ‘min’, ‘max’, ‘first’, ‘last’] = mean,
)-> ‘PatchType’
Aggregate values along a specified dimension.
Parameters
Parameter | Description |
---|---|
dim | The dimension along which aggregations are to be performed. |
method | The aggregation to apply along dimension. Options are: mean, min, max, median, first, last |