We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AbstractGPs.jl has the following default implementation (https://github.com/JuliaGaussianProcesses/AbstractGPs.jl/blob/04e4c53a3a66c62c83cdb4f47aabcfb04543acf4/src/abstract_gp/finite_gp.jl#L298-L309):
function Distributions._logpdf(f::FiniteGP, y::AbstractVector{<:Real}) return first(logpdf(f, reshape(y, :, 1))) end ... function Distributions.logpdf(f::FiniteGP, Y::AbstractMatrix{<:Real}) m, C_mat = mean_and_cov(f) C = cholesky(_symmetric(C_mat)) T = promote_type(eltype(m), eltype(C), eltype(Y)) return -((size(Y, 1) * T(log(2π)) + logdet(C)) .+ diag_Xt_invA_X(C, Y .- m)) ./ 2 end
This means that
DistributionsAD.jl/src/zygote.jl
Lines 70 to 79 in fe20700
will recursive indefinitively 😕
Should we maybe remove that the adjoint above? TBH it seems a bit too general.
The text was updated successfully, but these errors were encountered:
@yebai @mohamed82008 @devmotion
Sorry, something went wrong.
Try removing it, see if tests fail.
No branches or pull requests
AbstractGPs.jl has the following default implementation (https://github.com/JuliaGaussianProcesses/AbstractGPs.jl/blob/04e4c53a3a66c62c83cdb4f47aabcfb04543acf4/src/abstract_gp/finite_gp.jl#L298-L309):
This means that
DistributionsAD.jl/src/zygote.jl
Lines 70 to 79 in fe20700
will recursive indefinitively 😕
Should we maybe remove that the adjoint above? TBH it seems a bit too general.
The text was updated successfully, but these errors were encountered: