Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2
Provides methods for the two-dimensional spatial average pooling layer in the batch processing mode. More...
SpatialAveragePooling2dBatch | ( | DaalContext | context, |
Class<? extends Number > | cls, | ||
SpatialAveragePooling2dMethod | method, | ||
long | pyramidHeight, | ||
long | nDim | ||
) |
Constructs the two-dimensional spatial average pooling layer
context | Context to manage the two-dimensional spatial average pooling layer |
cls | Data type to use in intermediate computations for the layer, Double.class or Float.class |
method | The layer computation method, SpatialAveragePooling2dMethod |
pyramidHeight | The value of pyramid height |
nDim | Number of dimensions in input data |
Computation method for the layer
SpatialAveragePooling2dParameter parameter |
Pooling layer parameters
|
protected |
Data type to use in intermediate computations for the layer
For more complete information about compiler optimizations, see our Optimization Notice.