"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "cf1ca728eabb8354ce5be57cf4d97d503a01dbb9"
Unverified Commit 0afacfb8 authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

Fix `create_format_` to `create_formats` (#2184)

* Update dgl.DGLGraph.rst

* Update gcn.py
parent 4dae26a1
...@@ -75,7 +75,7 @@ Methods for getting or manipulating the internal storage formats of a ``DGLGraph ...@@ -75,7 +75,7 @@ Methods for getting or manipulating the internal storage formats of a ``DGLGraph
:toctree: ../../generated/ :toctree: ../../generated/
DGLGraph.formats DGLGraph.formats
DGLGraph.create_format_ DGLGraph.create_formats_
Querying and manipulating node/edge ID type Querying and manipulating node/edge ID type
----------------------------------------- -----------------------------------------
......
...@@ -249,7 +249,7 @@ def main(): ...@@ -249,7 +249,7 @@ def main():
in_feats = graph.ndata["feat"].shape[1] in_feats = graph.ndata["feat"].shape[1]
n_classes = (labels.max() + 1).item() n_classes = (labels.max() + 1).item()
graph.create_format_() graph.create_formats_()
train_idx = train_idx.to(device) train_idx = train_idx.to(device)
val_idx = val_idx.to(device) val_idx = val_idx.to(device)
......
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