文档
注册

GetTensorShape

函数功能

获取Tensor的shape。

函数原型

std::shared_ptr<TensorShape> GetTensorShape() const

参数说明

返回值说明

std::shared_ptr<TensorShape>,Tensor的shape的指针。

约束说明

无。

调用示例

auto shape = tensor->GetTensorShape();
搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词