Skip to content

Commit 40d66a7

Browse files
Merge pull request #36 from LukasHedegaard/develop
Add `nn.LayerNorm` to automatically convertible modules
2 parents 89d3d0f + e451fde commit 40d66a7

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,5 @@ dmypy.json
129129
.pyre/
130130

131131
.vscode
132+
133+
.DS_Store

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ From v1.0.0 and on, the project will adherence strictly to Semantic Versioning.
99

1010
## [Unreleased]
1111

12+
## [0.15.1]
13+
### Added
14+
- `nn.LayerNorm` to automatically convertible modules
15+
1216

1317
## [0.15.0]
1418
### Added
@@ -19,6 +23,9 @@ From v1.0.0 and on, the project will adherence strictly to Semantic Versioning.
1923
- Sequential `padding` computation.
2024
- `Lambda` `__repr__` function prints.
2125

26+
### Removed
27+
- CI testing for python v3.6.
28+
2229

2330
## [0.14.0]
2431
### Added

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,11 @@ In addition, we support interoperability with a wide range of modules from `torc
266266
- `nn.Softmax2d`
267267
- `nn.LogSoftmax`
268268

269-
- Batch Normalisation
269+
- Normalisation
270270
- `nn.BatchNorm1d`
271271
- `nn.BatchNorm2d`
272272
- `nn.BatchNorm3d`
273+
- `nn.LayerNorm`
273274

274275
- Dropout
275276
- `nn.Dropout`

continual/convert.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def forward_with_callmode(*args, **kwargs):
136136
nn.BatchNorm1d,
137137
nn.BatchNorm2d,
138138
nn.BatchNorm3d,
139+
nn.LayerNorm,
139140
# >> Dropout modules
140141
nn.Dropout,
141142
nn.Dropout2d,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def from_file(file_name: str = "requirements.txt", comment_char: str = "#"):
2525

2626
setup(
2727
name="continual-inference",
28-
version="0.15.0",
28+
version="0.15.1",
2929
description="Building blocks for Continual Inference Networks in PyTorch",
3030
long_description=long_description(),
3131
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)