"vscode:/vscode.git/clone" did not exist on "a8523bffa844752f8080e2ee675f91c32e392cf0"
Unverified Commit e37c8acb authored by wzm2256's avatar wzm2256 Committed by GitHub
Browse files

[Doc] Correct batch index in batch.py (#6043)

parent c08192cb
......@@ -21,8 +21,8 @@ def batch(graphs, ndata=ALL, edata=ALL):
graphs[0] graphs[1] ... graphs[k]
================= ========= ================= === =========
Original node ID 0 ~ N_0 0 ~ N_1 ... 0 ~ N_k
New node ID 0 ~ N_0 N_0+1 ~ N_0+N_1+1 ... 1+\sum_{i=0}^{k-1} N_i ~
1+\sum_{i=0}^k N_i
New node ID 0 ~ N_0 N_0 ~ N_0+N_1 ... \sum_{i=0}^{k-1} N_i ~
\sum_{i=0}^k N_i
================= ========= ================= === =========
Because of this, many of the computations on a batched graph are the same as if
......
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