Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 211ee62

Browse files
CarloLucibellodarsnack
andauthoredFeb 22, 2021
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

+2-1
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)
Please sign in to comment.