Skip to content

Update documentation and variable names in models#23

Merged
manoskary merged 2 commits intomainfrom
update-docs-and-variable-names
Jan 8, 2025
Merged

Update documentation and variable names in models#23
manoskary merged 2 commits intomainfrom
update-docs-and-variable-names

Conversation

@manoskary
Copy link
Copy Markdown
Owner

@manoskary manoskary commented Nov 28, 2024

Fixes #11

Add numpy doc style docstrings and uniform variable names in models.

  • graphmuse/loader/neighbor_loader.py

    • Change in_dim to input_channels in MuseNeighborLoader class.
    • Add numpy doc style docstrings to MuseNeighborLoader class methods.
    • Add examples to docstrings where needed in MuseNeighborLoader class.
  • graphmuse/nn/conv/gat.py

    • Change in_dim to input_channels in GraphAttentionLayer class.
    • Add numpy doc style docstrings to GraphAttentionLayer class methods.
    • Add examples to docstrings where needed in GraphAttentionLayer class.
  • graphmuse/nn/conv/gcn.py

    • Change in_dim to input_channels in GraphConv class.
    • Add numpy doc style docstrings to GraphConv class methods.
    • Add examples to docstrings where needed in GraphConv class.
  • graphmuse/nn/conv/ggru.py

    • Change in_features to input_channels in GGRU class.
    • Add numpy doc style docstrings to GGRU class methods.
    • Add examples to docstrings where needed in GGRU class.
  • graphmuse/nn/conv/metrical_conv.py

    • Change in_dim to input_channels in MetricalConvLayer class.
    • Add numpy doc style docstrings to MetricalConvLayer class methods.
    • Add examples to docstrings where needed in MetricalConvLayer class.
  • graphmuse/nn/conv/musgconv.py

    • Change in_channels to input_channels in MusGConv class.
    • Add numpy doc style docstrings to MusGConv class methods.
    • Add examples to docstrings where needed in MusGConv class.

Fixes #11

Add numpy doc style docstrings and uniform variable names in models.

* **graphmuse/loader/neighbor_loader.py**
  - Change `in_dim` to `input_channels` in `MuseNeighborLoader` class.
  - Add numpy doc style docstrings to `MuseNeighborLoader` class methods.
  - Add examples to docstrings where needed in `MuseNeighborLoader` class.

* **graphmuse/nn/conv/gat.py**
  - Change `in_dim` to `input_channels` in `GraphAttentionLayer` class.
  - Add numpy doc style docstrings to `GraphAttentionLayer` class methods.
  - Add examples to docstrings where needed in `GraphAttentionLayer` class.

* **graphmuse/nn/conv/gcn.py**
  - Change `in_dim` to `input_channels` in `GraphConv` class.
  - Add numpy doc style docstrings to `GraphConv` class methods.
  - Add examples to docstrings where needed in `GraphConv` class.

* **graphmuse/nn/conv/ggru.py**
  - Change `in_features` to `input_channels` in `GGRU` class.
  - Add numpy doc style docstrings to `GGRU` class methods.
  - Add examples to docstrings where needed in `GGRU` class.

* **graphmuse/nn/conv/metrical_conv.py**
  - Change `in_dim` to `input_channels` in `MetricalConvLayer` class.
  - Add numpy doc style docstrings to `MetricalConvLayer` class methods.
  - Add examples to docstrings where needed in `MetricalConvLayer` class.

* **graphmuse/nn/conv/musgconv.py**
  - Change `in_channels` to `input_channels` in `MusGConv` class.
  - Add numpy doc style docstrings to `MusGConv` class methods.
  - Add examples to docstrings where needed in `MusGConv` class.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/manoskary/graphmuse/issues/11?shareId=XXXX-XXXX-XXXX-XXXX).
@manoskary manoskary self-assigned this Nov 28, 2024
@manoskary manoskary requested a review from BaptisteHi November 28, 2024 11:22
@manoskary manoskary added the documentation Improvements or additions to documentation label Nov 28, 2024
@manoskary manoskary marked this pull request as ready for review November 29, 2024 13:20
@manoskary manoskary merged commit ebbe2ff into main Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation and extended readme

2 participants