PermutedDimsArray test
This commit is contained in:
parent
031d1b3d57
commit
55a7359f67
|
@ -116,6 +116,7 @@ end
|
|||
end
|
||||
|
||||
@test gradtest(x -> permutedims(x, [3,1,2]), rand(4,5,6))
|
||||
@test gradtest(x -> PermutedDimsArray(x, [3,1,2]), rand(4,5,6))
|
||||
|
||||
@test gradtest(x -> repeat(x; inner=2), rand(5))
|
||||
@test gradtest(x -> repeat(x; inner=2, outer=3), rand(5))
|
||||
|
|
Loading…
Reference in New Issue