Skip to content

Commit

Permalink
[GLE docs] minor fixes (#2783)
Browse files Browse the repository at this point in the history
Minor fixes in GLE docs
  • Loading branch information
LiSu committed May 31, 2023
1 parent b014dad commit 09ead30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/learning_engine/dev_and_test.md
Expand Up @@ -27,7 +27,6 @@ We provided a docker image `graphscope-dev` with all tools and dependices includ
```bash
# Use a mirror in HK aliyun to speed up the download if in need.
# export REGISTRY=registry.cn-hongkong.aliyuncs.com/
# TODO(yuansi): make it works

docker run --rm -it --shm-size=4096m REGISTRY/graphscope/graphscope-dev:latest
```
Expand Down
Expand Up @@ -33,7 +33,7 @@ from graphscope.learning.examples.tf.trainer import LocalTrainer
gs.set_option(show_log=True)

# load the obgn-mag graph as example.
g = load_ogbn_mag()
graph = load_ogbn_mag()

# print the schema of the graph
print(graph)
Expand Down Expand Up @@ -109,7 +109,7 @@ lg = sess.graphlearn(
## Train the Model
```python
train(lg, node_type="paper", edge_type="cites",
class_num=349, # output dimension
features_num=128, # input dimension
)
class_num=349, # output dimension
features_num=128, # input dimension
)
```

0 comments on commit 09ead30

Please sign in to comment.