Show / Hide Table of Contents

Class AvgPooling1D

Inheritance
System.Object
BaseLayer
AvgPooling1D
Inherited Members
BaseLayer.Params
BaseLayer.Input
BaseLayer.Output
BaseLayer.Name
BaseLayer.SkipPred
BaseLayer.Item[String]
BaseLayer.BuildParam(String, Int64[], DataType, BaseInitializer, BaseConstraint, BaseRegularizer, Boolean)
Namespace: SiaNet.Layers
Assembly: SiaNet.dll
Syntax
public class AvgPooling1D : BaseLayer

Constructors

| Improve this Doc View Source

AvgPooling1D(Int32, Int32, PaddingType)

Declaration
public AvgPooling1D(int poolSize = 2, int strides = 1, PaddingType padding = PaddingType.Same)
Parameters
Type Name Description
System.Int32 poolSize
System.Int32 strides
PaddingType padding

Properties

| Improve this Doc View Source

Padding

Declaration
public PaddingType Padding { get; set; }
Property Value
Type Description
PaddingType
| Improve this Doc View Source

PoolSize

Declaration
public int PoolSize { get; set; }
Property Value
Type Description
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
BaseLayer.Backward(Tensor)
| Improve this Doc View Source

Forward(Tensor)

Declaration
public override void Forward(Tensor x)
Parameters
Type Name Description
Tensor x
Overrides
BaseLayer.Forward(Tensor)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX