AveragePooling#

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

Bases: Pool

Apply average pooling to images.

Parameters#

ksizeint

Size of the pooling kernel.

cvalnumber

Value to pad edges with if necessary. Default 0.

func_kwargsdict

Additional parameters sent to the pooling function.