Skip to content

Commit f617aa6

Browse files
Update src/layers/basic.jl
Co-authored-by: Michael Abbott <[email protected]>
1 parent de43bf5 commit f617aa6

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
@@ -476,7 +476,8 @@ function Base.show(io::IO, m::Parallel)
476476
end
477477

478478
"""
479-
Embedding(in => out; init=randn)
479+
Embedding(in => out; init=randn32)
480+
Embedding(weight::AbstractMatrix)
480481
481482
A lookup table that stores embeddings of dimension `out`
482483
for a vocabulary of size `in`.

0 commit comments

Comments
 (0)