Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains authored Dec 18, 2020
1 parent 85d1bcc commit c6c334a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ $ pip install point-transformer-pytorch
import torch
from point_transformer_pytorch import PointTransformerLayer

x = torch.randn(1, 16, 128)
pos = torch.randn(1, 16, 3)

attn = PointTransformerLayer(
dim = 128,
pos_mlp_hidden_dim = 64,
attn_mlp_hidden_mult = 4
)

x = torch.randn(1, 16, 128)
pos = torch.randn(1, 16, 3)

attn(x, pos) # (1, 16, 128)
```

Expand Down

0 comments on commit c6c334a

Please sign in to comment.