Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 13, 2022
1 parent 2b49f23 commit d0eb8d9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions torch_geometric/utils/get_laplacian.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@


def get_laplacian(
edge_index: torch.Tensor, edge_weight: OptTensor = None,
normalization: Optional[str] = None, dtype: Optional[int] = None,
num_nodes: Optional[int] = None, ) -> Tuple[torch.Tensor, OptTensor]:
edge_index: torch.Tensor,
edge_weight: OptTensor = None,
normalization: Optional[str] = None,
dtype: Optional[int] = None,
num_nodes: Optional[int] = None,
) -> Tuple[torch.Tensor, OptTensor]:
r""" Computes the graph Laplacian of the graph given by :obj:`edge_index`
and optional :obj:`edge_weight`.
Expand Down

0 comments on commit d0eb8d9

Please sign in to comment.