Skip to content

Commit 181341e

Browse files
committed
Remove adjoint for Sinus
1 parent 9d82e1c commit 181341e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/zygote_adjoints.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ end
5959
end
6060
end
6161

62-
@adjoint function pairwise(s::Sinus, X::AbstractMatrix, Y::AbstractMatrix; dims=2)
63-
D = pairwise(d, X, Y; dims = dims)
64-
throw(error("Sinus metric has no defined adjoint for now... PR welcome!"))
65-
end
66-
67-
@adjoint function pairwise(s::Sinus, X::AbstractMatrix; dims=2)
68-
D = pairwise(d, X; dims = dims)
69-
throw(error("Sinus metric has no defined adjoint for now... PR welcome!"))
70-
end
71-
7262
@adjoint function loggamma(x)
7363
first(logabsgamma(x)) , Δ ->.* polygamma(0, x), )
7464
end

0 commit comments

Comments
 (0)