Class MaxPooling1D
Max pooling operation for temporal 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 MaxPooling1D : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceMaxPooling1D(Int32, Nullable<Int32>, String, String)
Initializes a new instance of the MaxPooling1D class.
Declaration
public MaxPooling1D(int pool_size = 2, int? strides = default(int? ), string padding = "valid", string data_format = "channels_last")
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pool_size | Integer, size of the max pooling windows. |
System.Nullable<System.Int32> | strides | Integer, or None. Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size. |
System.String | padding | One of "valid" or "same" (case-insensitive). |
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