Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

430 move to explicit ad #431

Merged
merged 10 commits into from
Apr 17, 2024
Merged

430 move to explicit ad #431

merged 10 commits into from
Apr 17, 2024

Conversation

pat-alt
Copy link
Member

@pat-alt pat-alt commented Apr 17, 2024

No description provided.

@pat-alt pat-alt linked an issue Apr 17, 2024 that may be closed by this pull request
@@ -44,7 +48,7 @@ function invalidation_rate(ce::AbstractCounterfactualExplanation)
end
gradᵀ = LinearAlgebra.transpose(grad)

identity_matrix = LinearAlgebra.Matrix{Float32}(I, length(grad), length(grad))
identity_matrix = LinearAlgebra.Matrix{Float32}(LinearAlgebra.I, length(grad), length(grad))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
identity_matrix = LinearAlgebra.Matrix{Float32}(LinearAlgebra.I, length(grad), length(grad))
identity_matrix = LinearAlgebra.Matrix{Float32}(
LinearAlgebra.I, length(grad), length(grad)
)

@pat-alt pat-alt merged commit fd40d9f into main Apr 17, 2024
10 checks passed
@pat-alt pat-alt deleted the 430-move-to-explicit-ad branch April 17, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move to explicit AD
1 participant