项目文件夹

文件
2018-10-18 21:43:40 -04:00

15 行
295 B
Python

"""Module for base types and utilities."""
from __future__ import absolute_import
import warnings
from ._ffi.base import DGLError
# A special argument for selecting all nodes/edges.
ALL = "__ALL__"
def is_all(arg):
return isinstance(arg, str) and arg == ALL
dgl_warning = warnings.warn