diff --git a/CHANGELOG.md b/CHANGELOG.md index f50b2b970325..84c50c4d411b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## \[2.6.0\] - 2024-MM-DD +## \[2.7.0\] - 2024-MM-DD + +### Added + +### Changed + +### Deprecated + +### Fixed + +### Removed + +## \[2.6.0\] - 2024-09-13 ### Added diff --git a/pyproject.toml b/pyproject.toml index a404c7c91c58..d100c46325e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend="flit_core.buildapi" [project] name="torch-geometric" -version="2.6.0" +version="2.7.0" authors=[ {name="Matthias Fey", email="matthias@pyg.org"}, ] diff --git a/torch_geometric/__init__.py b/torch_geometric/__init__.py index 30bc41e5c071..c65c07cd37be 100644 --- a/torch_geometric/__init__.py +++ b/torch_geometric/__init__.py @@ -30,7 +30,7 @@ contrib = LazyLoader('contrib', globals(), 'torch_geometric.contrib') graphgym = LazyLoader('graphgym', globals(), 'torch_geometric.graphgym') -__version__ = '2.6.0' +__version__ = '2.7.0' __all__ = [ 'Index', diff --git a/torch_geometric/edge_index.py b/torch_geometric/edge_index.py index e1e38fe73007..a4422a8ec492 100644 --- a/torch_geometric/edge_index.py +++ b/torch_geometric/edge_index.py @@ -173,7 +173,7 @@ class EdgeIndex(Tensor): :meth:`EdgeIndex.fill_cache_`, and are maintained and adjusted over its lifespan (*e.g.*, when calling :meth:`EdgeIndex.flip`). - This representation ensures for optimal computation in GNN message passing + This representation ensures optimal computation in GNN message passing schemes, while preserving the ease-of-use of regular COO-based :pyg:`PyG` workflows. diff --git a/torch_geometric/index.py b/torch_geometric/index.py index af64bf396fe7..3a9a89fc7bec 100644 --- a/torch_geometric/index.py +++ b/torch_geometric/index.py @@ -106,7 +106,7 @@ class Index(Tensor): :meth:`Index.fill_cache_`, and are maintaned and adjusted over its lifespan. - This representation ensures for optimal computation in GNN message passing + This representation ensures optimal computation in GNN message passing schemes, while preserving the ease-of-use of regular COO-based :pyg:`PyG` workflows. @@ -120,7 +120,7 @@ class Index(Tensor): assert index.is_sorted # Flipping order: - edge_index.flip(0) + index.flip(0) >>> Index([[2, 1, 1, 0], dim_size=3) assert not index.is_sorted