获取Tensor的shape。
std::shared_ptr<TensorShape> GetTensorShape() const
无
std::shared_ptr<TensorShape>,Tensor的shape的指针。
无。
auto shape = tensor->GetTensorShape();