Batch Processing

Layer Input

The forward three-dimensional average pooling layer accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.

Input ID

Input

data

Pointer to the tensor of size n1 x n2 x ... x np that stores the input data for the forward three-dimensional average pooling layer. This input can be an object of any class derived from Tensor.

Layer Parameters

For common parameters of neural network layers, see Common Parameters.

In addition to the common parameters, the forward three-dimensional average pooling layer has the following parameters:

Parameter

Default Value

Description

algorithmFPType

float

The floating-point type that the algorithm uses for intermediate computations. Can be float or double.

method

defaultDense

Performance-oriented computation method, the only method supported by the layer.

kernelSizes

KernelSizes(2, 2, 2)

Data structure representing the size of the three-dimensional subtensor from which the average element is computed.

strides

Strides(2, 2, 2)

Data structure representing the intervals on which the subtensors for pooling are selected.

paddings

Paddings(0, 0, 0)

Data structure representing the number of data elements to implicitly add to each size of the three-dimensional subtensor on which pooling is performed.

indices

HomogenNumericTable(p-3, p-2, p-1)

Indices of the three dimensions on which pooling is performed, stored in HomogenNumericTable.

Layer Output

The forward three-dimensional average pooling layer calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.

Result ID

Result

value

Pointer to the tensor of size m1 x m2 x ... x mp that stores the result of the forward three-dimensional average pooling layer, where mi, i ∈ {1 ... p} are defined above. This input can be an object of any class derived from Tensor.

resultForBackward

Collection of data needed for the backward three-dimensional average pooling layer.

Element ID

Element

auxInputDimensions

Collection that contains the size of the dimensions of the input data tensor: n1, n2, ..., np.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)