Skip to content

Commit

Permalink
Clear field dim in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo0628 committed Jan 12, 2023
1 parent 731d454 commit 719176d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/lang/articles/get-started/accelerate_pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ The Taichi reference code is almost identical to its Python counterpart. And a g
```python
@ti.kernel
def taichi_forward_v0(
out: ti.types.ndarray(field_dim=3),
w: ti.types.ndarray(field_dim=3),
k: ti.types.ndarray(field_dim=3),
out: ti.types.ndarray(ndim=3),
w: ti.types.ndarray(ndim=3),
k: ti.types.ndarray(ndim=3),
eps: ti.f32):

for b, c, t in out:
Expand Down

0 comments on commit 719176d

Please sign in to comment.