Skip to content

Commit a93ee1a

Browse files
committed
closes #32
1 parent cf9e186 commit a93ee1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/softmax.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Base.Threads
22

3-
function softmax!(out::AbstractVecOrMat, xs::AbstractVecOrMat)
3+
function softmax!(out::AbstractVecOrMat{T}, xs::AbstractVecOrMat{T}) where T<:AbstractFloat
44
@threads for j = 1:size(xs, 2)
55
@inbounds begin
66
# out[end, :] .= maximum(xs, 1)

0 commit comments

Comments
 (0)