dgl.graphbolt.etype_tuple_to_strΒΆ

dgl.graphbolt.etype_tuple_to_str(c_etype)[source]ΒΆ

Convert canonical etype from tuple to string.

Examples

>>> c_etype = ("user", "like", "item")
>>> c_etype_str = _etype_tuple_to_str(c_etype)
>>> print(c_etype_str)
"user:like:item"