Unverified Commit bcff14cc authored by Minjie Wang's avatar Minjie Wang Committed by GitHub
Browse files

[Dco] Remove preface in guide (#2096)

* fix

* fix
parent f86a8258
...@@ -5,7 +5,6 @@ User Guide ...@@ -5,7 +5,6 @@ User Guide
:maxdepth: 2 :maxdepth: 2
:titlesonly: :titlesonly:
preface
graph graph
message message
nn nn
......
...@@ -87,7 +87,6 @@ Getting Started ...@@ -87,7 +87,6 @@ Getting Started
:titlesonly: :titlesonly:
:glob: :glob:
guide/preface
guide/graph guide/graph
guide/message guide/message
guide/nn guide/nn
......
...@@ -23,7 +23,7 @@ __all__ = ['DGLHeteroGraph', 'combine_names'] ...@@ -23,7 +23,7 @@ __all__ = ['DGLHeteroGraph', 'combine_names']
class DGLHeteroGraph(object): class DGLHeteroGraph(object):
"""Class for storing graph structure and node/edge feature data. """Class for storing graph structure and node/edge feature data.
There are a few ways to create create a DGLGraph: There are a few ways to create a DGLGraph:
* To create a homogeneous graph from Tensor data, use :func:`dgl.graph`. * To create a homogeneous graph from Tensor data, use :func:`dgl.graph`.
* To create a heterogeneous graph from Tensor data, use :func:`dgl.heterograph`. * To create a heterogeneous graph from Tensor data, use :func:`dgl.heterograph`.
...@@ -1974,7 +1974,7 @@ class DGLHeteroGraph(object): ...@@ -1974,7 +1974,7 @@ class DGLHeteroGraph(object):
return self.num_nodes(ntype) return self.num_nodes(ntype)
def num_nodes(self, ntype=None): def num_nodes(self, ntype=None):
"""Return the number of nodes of in the graph. """Return the number of nodes in the graph.
Parameters Parameters
---------- ----------
......
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