Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Feb 8, 2023
1 parent d6577d4 commit 081fd14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/source/modules/nn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ torch_geometric.nn

.. autoclass:: torch_geometric.nn.sequential.Sequential

.. autoclass:: torch_geometric.nn.model_hub.PyGModelHubMixin

.. currentmodule:: torch_geometric.nn.dense

{% for name in torch_geometric.nn.dense.lin_classes %}
Expand Down
4 changes: 2 additions & 2 deletions torch_geometric/nn/model_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def save_pretrained(self, save_directory: Union[str, Path],
If not provided will default to the name of
:obj:`save_directory` in your namespace. (default: :obj:`None`)
**kwargs: Additional keyword arguments passed to
:obj:`huggingface_hub.ModelHubMixin.save_pretrained`.
:meth:`huggingface_hub.ModelHubMixin.save_pretrained`.
"""
config = self.model_config
# due to way huggingface hub handles the loading/saving of models,
Expand Down Expand Up @@ -186,7 +186,7 @@ def from_pretrained(
cache_dir: Optional[str] = None,
local_files_only: bool = False,
**model_kwargs,
):
) -> Any:
r"""Downloads and instantiates a model from the HuggingFace hub.
Args:
Expand Down

0 comments on commit 081fd14

Please sign in to comment.