Structure

BNNSPoolingLayerParameters

A structure containing pooling layer parameters.

Declaration

struct BNNSPoolingLayerParameters

Topics

Instance Properties

var activation: BNNSActivation

The layer activation function.

var bias: BNNSLayerData

Layer bias, one for each output channel.

var in_channels: Int

The number of input channels.

var k_height: Int

The height of the convolution kernel.

var k_width: Int

The width of the convolution kernel.

var out_channels: Int

The number of output channels.

var pooling_function: BNNSPoolingFunction

The pooling function to apply to each sample.

var x_padding: Int

The X padding.

var x_stride: Int

The X increment in the input image.

var y_padding: Int

The Y padding.

var y_stride: Int

The Y increment in the input image.