Show / Hide Table of Contents

Class ZeroPadding1D

Zero-padding layer for 1D input (e.g. temporal sequence).

Inheritance
System.Object
Keras
Base
BaseLayer
ZeroPadding1D
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 ZeroPadding1D : BaseLayer, IDisposable

Constructors

| Improve this Doc View Source

ZeroPadding1D(Int32, Shape)

Initializes a new instance of the ZeroPadding1D class.

Declaration
public ZeroPadding1D(int padding = 1, Shape input_shape = null)
Parameters
Type Name Description
System.Int32 padding

int, or tuple of int (length 2), or dictionary.

Shape input_shape

3D tensor with shape (batch, axis_to_pad, features)

Implements

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