Skip to content

Commit f617aa6

Browse files
Update src/layers/basic.jl
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
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

Lines changed: 2 additions & 1 deletion
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)