Package org.jetbrains.kotlinx.dl.api.core.layer.pooling

Types

AvgPool1D
Link copied to clipboard
class AvgPool1D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Average pooling operation for 1D temporal data (e.g. audio, time-series).

AvgPool2D
Link copied to clipboard
class AvgPool2D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Average pooling layer for 2D inputs (e.g. images).

AvgPool3D
Link copied to clipboard
class AvgPool3D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Average pooling operation for 3D data (e.g. video, spatio-temporal).

GlobalAvgPool1D
Link copied to clipboard
class GlobalAvgPool1D(name: String) : Layer

Global average pooling operation for temporal data. NOTE: Works with tensors which must have rank 3 (batch, steps, features). Input shape: 3D tensor with shape (batch_size, steps, features). Output shape: 2D tensor with shape (batch_size, features).

GlobalAvgPool2D
Link copied to clipboard
class GlobalAvgPool2D(name: String) : Layer

Global average pooling operation for 2D data (images and so on).

GlobalAvgPool3D
Link copied to clipboard
class GlobalAvgPool3D(name: String) : Layer

Global Average pooling operation for 3D data.

GlobalMaxPool1D
Link copied to clipboard
class GlobalMaxPool1D(name: String) : Layer

Global max pooling operation for 1D temporal data (e.g. audio, timeseries, etc.).

GlobalMaxPool2D
Link copied to clipboard
class GlobalMaxPool2D(name: String) : Layer

Global max pooling operation for 2D spatial data (e.g. images).

GlobalMaxPool3D
Link copied to clipboard
class GlobalMaxPool3D(name: String) : Layer

Global max pooling operation for 3D data (e.g. videos, spatio-temporal).

MaxPool1D
Link copied to clipboard
class MaxPool1D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Max pooling operation for 1D temporal data (e.g. audio, timeseries).

MaxPool2D
Link copied to clipboard
class MaxPool2D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Max pooling layer for 2D inputs (e.g. images).

MaxPool3D
Link copied to clipboard
class MaxPool3D(poolSize: IntArray, strides: IntArray, padding: ConvPadding, name: String) : Layer

Max pooling operation for 3D data (spatial or spatio-temporal). NOTE: Works with tensors which must have rank 5 (batch, depth, height, width, channels).