dmlc--dgl
444becf00a
* some file movements * move some codes to deprecated * more deprecation * lint * remove useless test
12 行
245 B
Python
12 行
245 B
Python
"""DGL mini-runtime."""
|
|
|
|
|
|
class Runtime(object):
|
|
"""The mini runtime class."""
|
|
@staticmethod
|
|
def run(prog):
|
|
"""Run the given program."""
|
|
for exe in prog.execs:
|
|
# prog.pprint_exe(exe)
|
|
exe.run()
|