Open klensink opened 6 years ago
Replacing the kronecker products with functions offers much greater performance and doesn't require us to store huge dense arrays. This PR is backwards compatible, so the kronecker products will still work if people want to use them.
Forward Benchmark:
BenchmarkTools.TrialJudgement: time: -85.87% => improvement (5.00% tolerance) memory: +0.00% => invariant (1.00% tolerance)
Adjoint Benchmark:
BenchmarkTools.TrialJudgement: time: -97.05% => improvement (5.00% tolerance) memory: +0.78% => invariant (1.00% tolerance)
Replacing the kronecker products with functions offers much greater performance and doesn't require us to store huge dense arrays. This PR is backwards compatible, so the kronecker products will still work if people want to use them.
Forward Benchmark:
Adjoint Benchmark: