Knet.jl
Knet.jl copied to clipboard
Float64 scalar Param with Float32 array Params gets Float32 gradient and breaks update!
In fact, even if we have a Float32 scalar, it breaks update! Need to wrap in array.