获取Tensor的数据占用的内存大小,单位字节。
uint64_t GetDataSize() const
无
uint64_t ,Tensor的数据占用的内存大小,单位字节。
无。
uint64_t size = tensor->GetDataSize();