bgd.layers.max_pooling2d module

class bgd.layers.max_pooling2d.MaxPooling2D(pool_shape, strides=(1, 1), copy=False)[source]

Bases: bgd.layers.layer.Layer

_backward(error)[source]

Wrapped method for applying a backward pass on input X.

_forward(X)[source]

Wrapped method for applying a forward pass on input X.

get_parameters()[source]

Retuns a tuple containing the parameters of the layer. If layer is non-learnable, None is returned instead. The tuple can have a size > 1 for convenience. For example, a convolutional neural layer has one array for the filters weights and one array for the biases.