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对象。