Skip to content

Commit

Permalink
make it clear in the example that residual not included
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jul 27, 2020
1 parent 321a620 commit ae05f37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $ pip install conformer

```python
import torch
from conformer.conformer import ConformerConvModule
from conformer import ConformerConvModule

layer = ConformerConvModule(
dim = 512,
Expand All @@ -25,7 +25,7 @@ layer = ConformerConvModule(
)

x = torch.randn(1, 1024, 512)
layer(x) # (1, 1024, 512)
x = layer(x) + x
```

## Citations
Expand Down

0 comments on commit ae05f37

Please sign in to comment.