We consider the layers implemented for the hypergraph domain, i.e. the ones in nn/hypergraph/*_layer.py.
Each Layer is a Python class that has a forward() method.
The docstring of this forward method should give the message passing equation of the Layer that is being implemented.
However, some forward functions of the layers on the hypergraph domain do not provide the mathematical equations associated with this message passing. We should add them.
Why?
The code is easier to read and understand if one can refer to the mathematical equation directly.
While the equation does not render very well in the docstring, it will render on the documentation website which will help the users.
Where?
The files to modify are:
topomodelx/nn/hypergraph/*_layer.py
NOTE: This issue only focus on layers within the hypergraph domain. There will be other issues to add equations in docstrings for other topological domains.
What?
We consider the layers implemented for the hypergraph domain, i.e. the ones in
nn/hypergraph/*_layer.py
.Each Layer is a Python class that has a forward() method. The docstring of this forward method should give the message passing equation of the Layer that is being implemented.
For example, see how the docstring of the forward method of the UniGCNII here: https://github.com/pyt-team/TopoModelX/blob/main/topomodelx/nn/hypergraph/unigcnii_layer.py
properly gives the equations:
However, some forward functions of the layers on the hypergraph domain do not provide the mathematical equations associated with this message passing. We should add them.
Why?
The code is easier to read and understand if one can refer to the mathematical equation directly.
While the equation does not render very well in the docstring, it will render on the documentation website which will help the users.
Where?
The files to modify are:
NOTE: This issue only focus on layers within the hypergraph domain. There will be other issues to add equations in docstrings for other topological domains.
How?
Go to the repository: https://github.com/awesome-tnns/awesome-tnns Go to the file:
Hypergraphs.md
For each layer file hypergraph/*_layer.py, for each forward() method in that file:
Hypergraphs.md
.Note: this last step might need to wait on the issue #165.