back on mse failing for Float16

This commit is contained in:
thebhatman 2019-06-13 16:41:25 +05:30
parent ce11804dc1
commit 1ff4e3188e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const ϵ = 1e-7
y = rand(T, 2)
ŷ = rand(T, 2)
for f in (mse, crossentropy, logitcrossentropy)
fwd, back = Zygote.forward(mse, , y)
fwd, back = Zygote.forward(f, , y)
@test fwd isa T
@test eltype(back(one(T))[1]) == T
end