Skip to content

Commit

Permalink
Add rrule test dot
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Jun 28, 2024
1 parent fcad6a9 commit 8a821e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ Vlist = ((ℂ^2, (ℂ^3)', ℂ^3, ℂ^2, (ℂ^2)'),
A = TensorMap(randn, T, V[1] V[2] V[3] V[4] V[5])
test_rrule(LinearAlgebra.adjoint, A)
test_rrule(LinearAlgebra.norm, A, 2)

B = TensorMap(randn, T, space(A))
test_rrule(LinearAlgebra.dot, A, B)
end

@timedtestset "TensorOperations with scalartype $T" for T in (Float64, ComplexF64)
Expand Down

0 comments on commit 8a821e0

Please sign in to comment.