Skip to content

Commit c12bad3

Browse files
committed
Update docs for new layers.
1 parent 3b4d5e2 commit c12bad3

File tree

17 files changed

+3505
-31
lines changed

17 files changed

+3505
-31
lines changed

docs/pytorch/haste_pytorch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Haste: a fast, simple, and open RNN library.
1515

1616
[`class GRU`](./haste_pytorch/GRU.md): Gated Recurrent Unit layer.
1717

18+
[`class IndRNN`](./haste_pytorch/IndRNN.md): Independently Recurrent Neural Network layer.
19+
1820
[`class LSTM`](./haste_pytorch/LSTM.md): Long Short-Term Memory layer.
1921

22+
[`class LayerNormGRU`](./haste_pytorch/LayerNormGRU.md): Layer Normalized Gated Recurrent Unit layer.
23+
2024
[`class LayerNormLSTM`](./haste_pytorch/LayerNormLSTM.md): Layer Normalized Long Short-Term Memory layer.
2125

docs/pytorch/haste_pytorch/GRU.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ apply(fn)
152152

153153
Applies ``fn`` recursively to every submodule (as returned by ``.children()``)
154154
as well as self. Typical use includes initializing the parameters of a model
155-
(see also :ref:`torch-nn-init`).
155+
(see also :ref:`nn-init-doc`).
156156

157157
#### Args:
158158

@@ -341,6 +341,7 @@ Casts all floating point parameters and buffers to float datatype.
341341
``` python
342342
forward(
343343
input,
344+
state=None,
344345
lengths=None
345346
)
346347
```

0 commit comments

Comments
 (0)