GetData

函数功能

获取Tensor的数据地址。

函数原型

void *GetData() const

参数说明

无。

返回值说明

void *,指向Tensor数据的指针。

约束说明

无。

调用示例

void *data = tensor->GetData();