类说明
Tensor类是ascend inference中对张量数据的抽象表示,定义了tensor的相关行为。

用户不能通过Tensor* tensor方式来构造一个tensor,请调用Tensor *AddInput(const std::string name, DataType type, Dims dim) noexcept;方法创建tensor类。
父主题: class Tensor
Tensor类是ascend inference中对张量数据的抽象表示,定义了tensor的相关行为。
用户不能通过Tensor* tensor方式来构造一个tensor,请调用Tensor *AddInput(const std::string name, DataType type, Dims dim) noexcept;方法创建tensor类。