Skip to content

Commit 211ee62

Browse files
docs
Co-authored-by: Kyle Daruwalla <daruwalla.k.public@icloud.com>
1 parent 71a0c46 commit 211ee62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/layers/basic.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ julia> model(x)
402402
-0.497621 0.87595 -0.870251 0.87595 -0.772696
403403
```
404404
405-
julia> model(vocab_idxs) # same as above
405+
julia> model(vocab_idxs) == model(x)
406+
true
406407
"""
407408
struct Embedding{W}
408409
weight::W

0 commit comments

Comments
 (0)