Show / Hide Table of Contents

Class TimeDistributed

This wrapper applies a layer to every temporal slice of an input. The input should be at least 3D, and the dimension of index one will be considered to be the temporal dimension. Consider a batch of 32 samples, where each sample is a sequence of 10 vectors of 16 dimensions. The batch input shape of the layer is then (32, 10, 16), and the input_shape, not including the samples dimension, is (10, 16). You can then use TimeDistributed to apply a Dense layer to each of the 10 timesteps, independently:

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

Constructors

| Improve this Doc View Source

TimeDistributed(BaseLayer)

Initializes a new instance of the TimeDistributed class.

Declaration
public TimeDistributed(BaseLayer layer)
Parameters
Type Name Description
BaseLayer layer

The layer instance.

Implements

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