CompileSpec(std::vector<InputProfile> inputs)

函数功能

静态或ShapeRange或分档模式CompileSpec构造函数。

函数原型

CompileSpec(std::vector<InputProfile> inputs)

约束说明

相关约束请参见GraphInputs

参数说明

参数名

输入/输出

说明

inputs

输入

vector数据结构表示分档模式的多个档位;InputProfile数据结构为std::vector <Input>,表示一个档位下的模型的多个输入。静态或ShapeRange模式下,inputs.size()需要为1。

返回值说明

CompileSpec对象。