Class GlobalAveragePooling2D
Global average pooling operation for spatial data.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Layers
Assembly: Keras.dll
Syntax
public class GlobalAveragePooling2D : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceGlobalAveragePooling2D(String)
Initializes a new instance of the GlobalAveragePooling2D class.
Declaration
public GlobalAveragePooling2D(string data_format = "channels_last")
Parameters
Type | Name | Description |
---|---|---|
System.String | data_format | A string, one of channels_last (default) or channels_first. The ordering of the dimensions in the inputs. channels_last corresponds to inputs with shape (batch, steps, features) while channels_first corresponds to inputs with shape (batch, features, steps). |
Implements
System.IDisposable