Get Started
Advanced Materials
API Reference
Notes
Misc
dgl.graphbolt.
etype_str_to_tuple
Convert canonical etype from string to tuple.
Examples
>>> c_etype_str = "user:like:item" >>> c_etype = _etype_str_to_tuple(c_etype_str) >>> print(c_etype) ("user", "like", "item")