GetShape
函数功能
获取Tensor的具体形状。
函数原型
1 | std::vector<uint32_t> TensorShape::GetShape() const; |
返回参数说明
数据结构 |
说明 |
---|---|
std::vector<uint32_t> |
Tensor的形状。 |
父主题: TensorShape
获取Tensor的具体形状。
1 | std::vector<uint32_t> TensorShape::GetShape() const; |
数据结构 |
说明 |
---|---|
std::vector<uint32_t> |
Tensor的形状。 |