Show / Hide Table of Contents

Class MaxPooling3D

Max pooling operation for 3D data (spatial or spatio-temporal).

Inheritance
System.Object
Keras
Base
BaseLayer
MaxPooling3D
Implements
System.IDisposable
Inherited Members
BaseLayer.Set(BaseLayer[])
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 MaxPooling3D : BaseLayer, IDisposable

Constructors

| Improve this Doc View Source

MaxPooling3D(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".

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX