Contents

bidirectional

A parameter that defines a bidirectional LSTM layer.

Declaration

var bidirectional: Bool { get set }

Discussion

If set to YES then the input sequence is traversed in both directions and the two results are concatenated together on the channel-axis. Default value: NO.