"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "d03240801f2ac2b4d1f49584c1c5628b98583f6a"
Unverified Commit bc733a74 authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[doc] fix docstring typo

parent f6fa920d
......@@ -187,6 +187,7 @@ def unique_and_compact_csc_formats(
):
"""
Compact csc formats and return unique nodes (per type).
Parameters
----------
csc_formats : Union[CSCFormatBase, Dict(str, CSCFormatBase)]
......@@ -203,6 +204,7 @@ def unique_and_compact_csc_formats(
- If `unique_dst_nodes` is a tensor: It means the graph is homogeneous.
- If `csc_formats` is a dictionary: The keys are node type and the
values are corresponding nodes. And IDs inside are heterogeneous ids.
Returns
-------
Tuple[csc_formats, unique_nodes]
......@@ -211,6 +213,7 @@ def unique_and_compact_csc_formats(
"Compacted csc formats" indicates that the node IDs in the input node
pairs are replaced with mapped node IDs, where each type of node is
mapped to a contiguous space of IDs ranging from 0 to N.
Examples
--------
>>> import dgl.graphbolt as gb
......
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