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