Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Jun 29, 2019
1 parent 5c2399d commit 378d474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion torch_geometric/utils/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def to_scipy_sparse_matrix(edge_index, edge_attr=None, num_nodes=None):


def from_scipy_sparse_matrix(A):
r""""Converts a scipy sparse matrix to edge indices and edge attributes.
r"""Converts a scipy sparse matrix to edge indices and edge attributes.
Args:
A (scipy.sparse): A sparse matrix.
Expand Down
2 changes: 1 addition & 1 deletion torch_geometric/utils/softmax.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def softmax(src, index, num_nodes=None):
r"""Computes a sparsely evaluated softmax.
Given a value tensor :attr:`src`, this function first groups those values
Given a value tensor :attr:`src`, this function first groups the values
along the first dimension based on the indices specified in :attr:`index`,
and then proceeds to compute the softmax individually for each group.
Expand Down

0 comments on commit 378d474

Please sign in to comment.