Skip to content

Commit 544a2bd

Browse files
authored
Merge pull request #302 from FluxML/deprecate
Remove @deprecate
2 parents 0d9ba5d + 49ce2fd commit 544a2bd

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/layers/conv.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ function ChebConv(ch::Pair{Int,Int}, k::Int, σ=identity;
105105
ChebConv(W, b, k, σ)
106106
end
107107

108-
@deprecate ChebConv(fg, args...; kwargs...) WithGraph(fg, ChebConv(args...; kwargs...))
109-
110108
@functor ChebConv
111109

112110
Flux.trainable(l::ChebConv) = (l.weight, l.bias)
@@ -197,8 +195,6 @@ function GraphConv(ch::Pair{Int,Int}, σ=identity, aggr=+;
197195
GraphConv(W1, W2, b, σ, aggr)
198196
end
199197

200-
@deprecate GraphConv(fg, args...; kwargs...) WithGraph(fg, GraphConv(args...; kwargs...))
201-
202198
@functor GraphConv
203199

204200
Flux.trainable(l::GraphConv) = (l.weight1, l.weight2, l.bias)
@@ -287,8 +283,6 @@ function GATConv(ch::Pair{Int,Int}, σ=identity; heads::Int=1, concat::Bool=true
287283
GATConv(W, b, a, σ, negative_slope, ch, heads, concat)
288284
end
289285

290-
@deprecate GATConv(fg, args...; kwargs...) WithGraph(fg, GATConv(args...; kwargs...))
291-
292286
@functor GATConv
293287

294288
Flux.trainable(l::GATConv) = (l.weight, l.bias, l.a)
@@ -530,8 +524,6 @@ function GatedGraphConv(out_ch::Int, num_layers::Int; aggr=+, init=glorot_unifor
530524
GatedGraphConv(w, gru, out_ch, num_layers, aggr)
531525
end
532526

533-
@deprecate GatedGraphConv(fg, args...; kwargs...) WithGraph(fg, GatedGraphConv(args...; kwargs...))
534-
535527
@functor GatedGraphConv
536528

537529
Flux.trainable(l::GatedGraphConv) = (l.weight, l.gru)
@@ -605,8 +597,6 @@ end
605597

606598
EdgeConv(nn; aggr=max) = EdgeConv(nn, aggr)
607599

608-
@deprecate EdgeConv(fg, args...; kwargs...) WithGraph(fg, EdgeConv(args...; kwargs...))
609-
610600
@functor EdgeConv
611601

612602
Flux.trainable(l::EdgeConv) = (l.nn,)
@@ -663,8 +653,6 @@ end
663653

664654
GINConv(nn, eps=0f0) = GINConv(nn, eps)
665655

666-
@deprecate GINConv(fg, args...; kwargs...) WithGraph(fg, GINConv(args...; kwargs...))
667-
668656
@functor GINConv
669657

670658
Flux.trainable(g::GINConv) = (g.nn,)
@@ -720,8 +708,6 @@ struct CGConv{A<:AbstractMatrix,B} <: MessagePassing
720708
bs::B
721709
end
722710

723-
@deprecate CGConv(fg, args...; kwargs...) WithGraph(fg, CGConv(args...; kwargs...))
724-
725711
@functor CGConv
726712

727713
Flux.trainable(l::CGConv) = (l.Wf, l.Ws, l.bf, l.bs)

0 commit comments

Comments
 (0)