compile_pipe 函数功能Pipeline优化模块,内置pipeline调优能力,目前仅支持对MindIE SD中内置pipeline优化。 函数原型def compile_pipe(pipe, cfg=None): 参数说明 参数名 输入/输出 说明 pipe 输入 MindIE SD中提供的pipeline类。 cfg 输入 pipeline优化配置。 返回值说明返回优化后的pipeline对象。 父主题: API参考(Python)