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