Kron test on Vectors also fails occasionally, but also not my method.

This commit is contained in:
jessebett 2018-02-12 17:33:47 -05:00
parent 0732d7db00
commit fb5b8c7952
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ 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), rand(3))
@test gradtest(kron, rand(5), rand(3), rand(8))
@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))