Class MaxPooling2D
Inheritance
System.Object
MaxPooling2D
Assembly: SiaNet.dll
Syntax
public class MaxPooling2D : BaseLayer
Constructors
|
Improve this Doc
View Source
MaxPooling2D(Tuple<Int32, Int32>, Int32, PaddingType)
Declaration
public MaxPooling2D(Tuple<int, int> poolSize = null, int strides = 1, PaddingType padding = PaddingType.Same)
Parameters
Type |
Name |
Description |
System.Tuple<System.Int32, System.Int32> |
poolSize |
|
System.Int32 |
strides |
|
PaddingType |
padding |
|
Properties
|
Improve this Doc
View Source
Padding
Declaration
public PaddingType Padding { get; set; }
Property Value
|
Improve this Doc
View Source
PoolSize
Declaration
public Tuple<int, int> PoolSize { get; set; }
Property Value
Type |
Description |
System.Tuple<System.Int32, System.Int32> |
|
|
Improve this Doc
View Source
Strides
Declaration
public int Strides { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Backward(Tensor)
Declaration
public override void Backward(Tensor outputgrad)
Parameters
Type |
Name |
Description |
Tensor |
outputgrad |
|
Overrides
|
Improve this Doc
View Source
Forward(Tensor)
Declaration
public override void Forward(Tensor x)
Parameters
Type |
Name |
Description |
Tensor |
x |
|
Overrides