Skip to content

Commit

Permalink
Extend lazy init to rnn (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Aug 2, 2023
1 parent edc4a04 commit 632c72b
Show file tree
Hide file tree
Showing 6 changed files with 566 additions and 131 deletions.
3 changes: 0 additions & 3 deletions CHANEGLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

- `ScanRNN` changes:

- `backward_cell=...` is deprecated , instead use `ScanRNN(forward_cell, backward_cell, reverse=(False,True))`
- `ScanRNN` now accepts arbitrary number of cells as input and an argument `reverse` to decide whether to reverse the corresponding cell or not.
- `return_state` is added to control whether the final carry is returned or not.
- `cell.init_state` is deprecated use `sk.tree_state(cell, ...)` instead.

- Naming changes:
Expand Down
16 changes: 5 additions & 11 deletions docs/notebooks/bilstm.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion serket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
)


__version__ = "0.5.0b1"
__version__ = "0.6.0b0"
Loading

0 comments on commit 632c72b

Please sign in to comment.