Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
bcff14cc
"git@developer.sourcefind.cn:OpenDAS/bitsandbytes.git" did not exist on "5d6dfe6fb43e5aae277ec86cba20a002b34df705"
Unverified
Commit
bcff14cc
authored
Aug 23, 2020
by
Minjie Wang
Committed by
GitHub
Aug 23, 2020
Browse files
[Dco] Remove preface in guide (#2096)
* fix * fix
parent
f86a8258
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
docs/source/guide/index.rst
docs/source/guide/index.rst
+0
-1
docs/source/index.rst
docs/source/index.rst
+0
-1
python/dgl/heterograph.py
python/dgl/heterograph.py
+2
-2
No files found.
docs/source/guide/index.rst
View file @
bcff14cc
...
@@ -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
...
...
docs/source/index.rst
View file @
bcff14cc
...
@@ -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
...
...
python/dgl/heterograph.py
View file @
bcff14cc
...
@@ -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
----------
----------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment