"tests/python/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "8f1b5782bb78a5285ea491626630d5a5cbe1512f"
Unverified Commit 3a19bbc5 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

fix doc (#2604)

parent db57809d
...@@ -26,4 +26,4 @@ GNN-like structures, e.g. ...@@ -26,4 +26,4 @@ GNN-like structures, e.g.
.. autosummary:: .. autosummary::
:toctree: ../../generated/ :toctree: ../../generated/
nn.functional.edge_softmax functional.edge_softmax
...@@ -7,11 +7,11 @@ __all__ = ['edge_softmax'] ...@@ -7,11 +7,11 @@ __all__ = ['edge_softmax']
def edge_softmax(graph, logits, eids=ALL, norm_by='dst'): def edge_softmax(graph, logits, eids=ALL, norm_by='dst'):
r""" r"""Compute softmax over weights of incoming edges for every node.
Description Description
----------- -----------
Compute edge softmax. For a node :math:`i`, edge softmax is an operation that computes For a node :math:`i`, edge softmax is an operation that computes
.. math:: .. math::
a_{ij} = \frac{\exp(z_{ij})}{\sum_{j\in\mathcal{N}(i)}\exp(z_{ij})} a_{ij} = \frac{\exp(z_{ij})}{\sum_{j\in\mathcal{N}(i)}\exp(z_{ij})}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment