Class MaxPooling3D
Max pooling operation for 3D data (spatial or spatio-temporal).
Implements
Inherited Members
Namespace: Keras.Layers
Assembly: Keras.dll
Syntax
public class MaxPooling3D : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceMaxPooling3D(Tuple<Int32, Int32, Int32>, Tuple<Int32, Int32, Int32>, String, String)
Initializes a new instance of the MaxPooling3D class.
Declaration
public MaxPooling3D(Tuple<int, int, int> pool_size = null, Tuple<int, int, int> strides = null, string padding = "valid", string data_format = "channels_last")
Parameters
Type | Name | Description |
---|---|---|
System.Tuple<System.Int32, System.Int32, System.Int32> | pool_size | tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). (2, 2, 2) will halve the size of the 3D input in each dimension. |
System.Tuple<System.Int32, System.Int32, System.Int32> | strides | tuple of 3 integers, or None. Strides values. |
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, spatial_dim1, spatial_dim2, spatial_dim3, channels) while channels_first corresponds to inputs with shape(batch, channels, spatial_dim1, spatial_dim2, spatial_dim3). It defaults to the image_data_formatvalue found in your Keras config file at ~/.keras/keras.json. If you never set it, then it will be "channels_last". |