Class Cropping1D
Cropping layer for 1D input (e.g. temporal sequence). It crops along the time dimension(axis 1).
Implements
System.IDisposable
Inherited Members
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 Cropping1D : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceCropping1D(Tuple<Int32, Int32>, Shape)
Initializes a new instance of the Cropping1D class.
Declaration
public Cropping1D(Tuple<int, int> cropping, Shape input_shape = null)
Parameters
Type | Name | Description |
---|---|---|
System.Tuple<System.Int32, System.Int32> | cropping | int or tuple of int (length 2) How many units should be trimmed off at the beginning and end of the cropping dimension (axis 1). If a single int is provided, the same value will be used for both. |
Shape | input_shape | 3D tensor with shape (batch, axis_to_crop, features) |
Implements
System.IDisposable