AveragePooling#

class deeptrack.math.AveragePooling(ksize: int | Callable[[...], int] = 3, **kwargs)#

Bases: Pool

Apply average pooling to an images.

Parameters#

ksize: int

Size of the pooling kernel.

cval: number

Value to pad edges with if necessary. Default 0.

func_kwargs: dict

Additional parameters sent to the pooling function.