Skip to content
Ontology docs

Documentation generated from LinkML

Class: AveragePooling2D_Layer

Average pooling operation for spatial data. Downsamples the input along its spatial dimensions (height and width) by taking the average value over an input window (of size defined by pool_size) for each channel of the input. The window is shifted by strides along each dimension. The resulting output when using "valid" padding option has a shape (number of rows or columns) of: output_shape = math.floor((input_shape - pool_size) / strides) + 1 (when input_shape >= pool_size). The resulting output shape when using the "same" padding option is: output_shape = math.floor((input_shape - 1) / strides) + 1.

  • Title: AveragePooling2D Layer
  • Canonical name: AveragePooling2DLayer
  • Other names: AvgPool2D, AvgPool2d
  • Names in code: AveragePooling2DLayer (Scala, TypeScript, Python, Java, GraphQL)
  • URI: aio:AveragePooling2D_Layer (https://w3id.org/aio/AveragePooling2D_Layer)
  • Parent: Pooling_Layer

Inheritance