Skip to content

Commit 5accc3e

Browse files
mlutils
1 parent 7b339fa commit 5accc3e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
1111
GNNGraphs = "aed8fd31-079b-4b5a-b342-a13352159b8c"
1212
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1313
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
14+
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
1415
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1516
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1617
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
@@ -31,6 +32,7 @@ Functors = "0.4.1"
3132
GNNGraphs = "1.0"
3233
LinearAlgebra = "1"
3334
MacroTools = "0.5"
35+
MLUtils = "0.4"
3436
NNlib = "0.9"
3537
Random = "1"
3638
Reexport = "1"
@@ -47,11 +49,10 @@ FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
4749
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
4850
InlineStrings = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
4951
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
50-
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
5152
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
5253
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5354
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
5455
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
5556

5657
[targets]
57-
test = ["Test", "MLUtils", "Adapt", "DataFrames", "InlineStrings", "SparseArrays", "Graphs", "Zygote", "FiniteDifferences", "ChainRulesTestUtils", "MLDatasets", "CUDA", "cuDNN"]
58+
test = ["Test", "Adapt", "DataFrames", "InlineStrings", "SparseArrays", "Graphs", "Zygote", "FiniteDifferences", "ChainRulesTestUtils", "MLDatasets", "CUDA", "cuDNN"]

src/GraphNeuralNetworks.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ using NNlib: scatter, gather
1010
using ChainRulesCore
1111
using Reexport
1212
using DataStructures: nlargest
13+
using MLUtils: zeros_like
1314

1415
@reexport using GNNGraphs
1516
using GNNGraphs: COO_T, ADJMAT_T, SPARSE_T,

0 commit comments

Comments
 (0)