下载
中文
注册

compile_pipe

函数功能

Pipeline优化模块,内置pipeline调优能力,目前仅支持对MindIE SD中内置pipeline优化。

函数原型

def compile_pipe(pipe, cfg=None):

参数说明

参数名

输入/输出

说明

pipe

输入

MindIE SD中提供的pipeline类。

cfg

输入

pipeline优化配置。

返回值说明

返回优化后的pipeline对象。