Input(std::vector<int64_t> minShape, std::vector<int64_t> maxShape, TensorFormat format = TensorFormat(TensorFormat::ND))
函数功能
ShapeRange输入构造函数。
函数原型
Input(std::vector<int64_t> minShape, std::vector<int64_t> maxShape, TensorFormat format = TensorFormat(TensorFormat::ND))
约束说明
无
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
minShape |
输入 |
ShapeRange模式下输入的最小shape(在ShapeRange模式中使用);默认值:无。 |
maxShape |
输入 |
ShapeRange模式下输入的最大shape(在ShapeRange模式中使用);默认值:无。 |
format |
输入 |
输入的数据排布;默认值:TensorFormat::ND。 |
返回值说明
Input对象。
父主题: Input