megengine.utils.comp_graph_tools.GraphInference¶
-
class
GraphInference
(file, outputs=None, profiling=False, optimize_for_inference=False, **kwargs)[源代码]¶ 基类:
object
Loads a serialized computing graph as a GraphInference object which can be used to execute the computing graph.
- 参数
方法
__init__
(file[, outputs, profiling, …])初始化方法。
run
(*inp_args[, inp_dict])- type inp_args