Skip to content
项目

JuliaGraphs/GraphNeuralNetworks.jl

在 GitHub 查看

JuliaGraphs/GraphNeuralNetworks.jl has 313 GitHub stars and 76 forks. Star changes are not measured yet. Last checked 2026-11-13 16:36 UTC. Last push 2026-11-12.

这些数字如何统计

可以做什么

  • Implementation of common graph convolutional layers.
  • Computation on batched graphs.
  • Custom layer definitions.
  • Support for CUDA and AMDGPU.

实测星标增长

24小时
正在收集历史
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Graph Neural Networks in Julia

机器学习

README.md

原文

GraphNeuralNetworks.jl

codecov

Libraries for deep learning on graphs in Julia, using either Flux.jl or Lux.jl as backend frameworks.

This repository contains the following packages:

  • GraphNeuralNetworks.jl: Provides graph convolutional layers based on the deep learning framework Flux.jl. This is the frontend package for Flux users.

  • GNNLux.jl: Offers graph convolutional layers based on the deep learning framework Lux.jl. This is the frontend package for Lux users.

  • GNNGraphs.jl: Provides graph data structures and helper functions for working with graph data. This package is re-exported by the frontend packages.

  • GNNlib.jl: Implements the message-passing framework based on the gather/scatter mechanism or sparse matrix multiplication. It also includes shared implementations for the layers used by the two frontend packages. This package is not intended for direct use by end-users but is re-exported by the frontend packages.

Features

Both GraphNeuralNetworks.jl and GNNLux.jl support the following features:

  • Implementation of common graph convolutional layers.
  • Computation on batched graphs.
  • Custom layer definitions.
  • Support for CUDA and AMDGPU.
  • Integration with Graphs.jl.
  • Examples of node, edge, and graph-level machine learning tasks.
  • Heterogeneous and dynamical graphs and convolutions.

Installation

All packages are registered in the General registry, making them easy to install via the Julia package manager.

For Flux users, run

pkg> add GraphNeuralNetworks

For Lux users, run

pkg> add GNNLux

There is no need to install GNNGraphs or GNNlib directly, as their functionality is re-exported by the frontend packages.

Usage

Usage examples can be found in the examples folder and the notebooks folder.

For a comprehensive introduction to the library, refer to the Documentation.

Citing

If you use GraphNeuralNetworks.jl in a scientific publication, we would appreciate a reference to our paper:

@article{lucibello2025graphneuralnetworks,
  author  = {Carlo Lucibello and Aurora Rossi},
  title   = {GraphNeuralNetworks.jl: Deep Learning on Graphs with Julia},
  journal = {Journal of Machine Learning Research},
  year    = {2025},
  volume  = {26},
  number  = {80},
  pages   = {1--6},
  url     = {http://jmlr.org/papers/v26/24-2130.html}
}

Acknowledgments

GraphNeuralNetworks.jl is largely inspired by PyTorch Geometric, Deep Graph Library, and GeometricFlux.jl.

探索相关项目