Co-authored-by: improbable22 <improbable+github@gmail.com>
This commit is contained in:
Johan Gustafsson 2018-05-02 15:46:01 +02:00
parent 1c189c62ed
commit cfdb16e609
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ end
end
@test gradtest((a,b)->cat((2,3,5), a, b), rand(2,3), rand(2,4,2,1))
@testset "issue #213" begin
A, B, C = rand(2,2), rand(2,2), rand(2,2)
@test vcat(A, B, C |> param) == vcat(param.((A,B,C))...)
end
end
@test gradtest(x -> permutedims(x, [3,1,2]), rand(4,5,6))