| Class | Description |
|---|---|
| Bidirectional | |
| Bidirectional.Builder | |
| LastTimeStep | |
| SimpleRnn | |
| SimpleRnn.Builder | |
| TimeDistributed |
| Enum | Description |
|---|---|
| Bidirectional.Mode |
This Mode enumeration defines how the activations for the forward and backward networks should be combined.
ADD: out = forward + backward (elementwise addition) MUL: out = forward * backward (elementwise multiplication) AVERAGE: out = 0.5 * (forward + backward) CONCAT: Concatenate the activations. Where 'forward' is the activations for the forward RNN, and 'backward' is the activations for the backward RNN. |
Copyright © 2022. All rights reserved.