Skip to content

Commit 5a72e57

Browse files
contrete type parameters; remove closures
1 parent 45a14db commit 5a72e57

File tree

5 files changed

+196
-143
lines changed

5 files changed

+196
-143
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
88
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
99
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
1010
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
11+
FastClosures = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
1112
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1213
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
1314
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"

src/GraphNeuralNetworks.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ using NNlib: scatter, gather
1212
using ChainRulesCore
1313
using Reexport
1414

15+
# use `@closure` in conv layers in ored to avoid issues
16+
# https://github.com/JuliaLang/julia/issues/15276
17+
# https://github.com/FluxML/Zygote.jl/issues/1317
18+
# using FastClosures: @closure
19+
1520
using SparseArrays, Graphs # not needed but if removed Documenter will complain
1621

1722
include("GNNGraphs/GNNGraphs.jl")

0 commit comments

Comments
 (0)