跳到主要内容

GetSize

函数功能

获取TensorDesc所描述Tensor的数据大小。

函数原型

int64_t GetSize() const;

参数说明

返回值

类型描述
int64_tTensorDesc所描述的Tensor的数据大小信息。

异常处理

约束说明