Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix errors in docstrings; use code directive
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmarkham committed Nov 30, 2018
1 parent 75b7f93 commit 5c17eb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operator/contrib/dgl_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ of CSR matrices if return_mapping is True: the first matrix contains edges
with new edge Ids, the second matrix contains edges with the original
edge Ids.
Example::
Example:
.. code:: python
Expand Down Expand Up @@ -435,7 +435,7 @@ stored in a CSR matrix (the value of the CSR stores the edge Id of the graph).
output[i] = input[u[i], v[i]] if there is an edge between u[i] and v[i]],
otherwise output[i] will be -1. Both u and v should be 1D vectors.
Example::
Example:
.. code:: python
Expand Down Expand Up @@ -510,7 +510,7 @@ NNVM_REGISTER_OP(_contrib_dgl_adjacency)
to an adjacency matrix whose values are ones. The output CSR matrix always has
the data value of float32.
Example::
Example:
.. code:: python
Expand Down

0 comments on commit 5c17eb8

Please sign in to comment.