pytorch_geometric
pytorch_geometric copied to clipboard
Add `class-resolver` for `Aggregation`
As a follow-up to #4687, this pull request adds a class-resolver for aggregations in torch_geometric.nn.aggr. It also adds a class docstring with an example on how to use it.
Note that class_resolver is a pure python package with no dependencies.
Codecov Report
Merging #4716 (1cb1f74) into master (cb92831) will increase coverage by
0.00%. The diff coverage is100.00%.
@@ Coverage Diff @@
## master #4716 +/- ##
=======================================
Coverage 82.40% 82.40%
=======================================
Files 321 321
Lines 17207 17209 +2
=======================================
+ Hits 14179 14181 +2
Misses 3028 3028
| Impacted Files | Coverage Δ | |
|---|---|---|
| torch_geometric/nn/aggr/__init__.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update cb92831...1cb1f74. Read the comment docs.
schönes Feierabend btw
@cthoyt We added basic support for aggregation_resolver in https://github.com/pyg-team/pytorch_geometric/pull/4749. Let me know once class-resolver is available on conda and I am happy to make the switch.