Show / Hide Table of Contents

Class Bidirectional

Bidirectional wrapper for RNNs.

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

Constructors

| Improve this Doc View Source

Bidirectional(BaseLayer, String, NDarray)

Initializes a new instance of the Bidirectional class.

Declaration
public Bidirectional(BaseLayer layer, string merge_mode = "concat", NDarray weights = null)
Parameters
Type Name Description
BaseLayer layer

The recurrent layer instance.

System.String merge_mode

Mode by which outputs of the forward and backward RNNs will be combined. One of {'sum', 'mul', 'concat', 'ave', None}. If None, the outputs will not be combined, they will be returned as a list.

Numpy.NDarray weights

Initial weights to load in the Bidirectional model.

Implements

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