Skip to content

Commit

Permalink
Change dimensions to make them recognizable
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Carlo Surace committed Sep 26, 2023
1 parent b9b7f10 commit 3ccbdfc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/rulesets/LinearAlgebra/dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,16 @@
@testset "kron" begin
@testset "AbstractVecOrMat{$T}" for T in (Float64, ComplexF64)
@testset "frule" begin
test_frule(kron, randn(T, 3), randn(T, 3))
test_frule(kron, randn(T, 3, 2), randn(T, 3))
test_frule(kron, randn(T, 3), randn(T, 3, 4))
test_frule(kron, randn(T, 3, 4), randn(T, 2, 2))
test_frule(kron, randn(T, 2), randn(T, 3))
test_frule(kron, randn(T, 2, 3), randn(T, 5))
test_frule(kron, randn(T, 2), randn(T, 3, 5))
test_frule(kron, randn(T, 2, 3), randn(T, 5, 7))
end
@testset "rrule" begin
test_rrule(kron, randn(T, 3), randn(T, 3))
test_rrule(kron, randn(T, 3, 2), randn(T, 3))
test_rrule(kron, randn(T, 3), randn(T, 3, 4))
test_rrule(kron, randn(T, 3, 4), randn(T, 2, 2))
test_rrule(kron, randn(T, 2), randn(T, 3))
test_rrule(kron, randn(T, 2, 3), randn(T, 5))
test_rrule(kron, randn(T, 2), randn(T, 3, 5))
test_rrule(kron, randn(T, 2, 3), randn(T, 5, 7))
end
end
end
Expand Down

0 comments on commit 3ccbdfc

Please sign in to comment.