Added kron test, kron isn't consistently passing them.

This commit is contained in:
jessebett 2018-02-12 17:27:10 -05:00
parent f84ee8eab0
commit 0732d7db00
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ gradtest(f, dims...) = gradtest(f, rand.(dims)...)
@test gradtest(vcat, rand(5), rand(3), rand(8))
@test gradtest(vcat, rand(5,2), rand(3,2), rand(8,2))
@test gradtest(kron,rand(5,1), rand(3,1))
@test gradtest(kron, rand(5,1), rand(3,1), rand(8,1))
@test gradtest(kron, rand(5,2), rand(3,2), rand(8,2))
@test gradtest(diagm, rand(3))
@testset "mean" begin