torch_npu\csrc\core\npu\NPUFormat.h
std::vector<int64_t> at_npu::native::get_npu_storage_sizes(const at::Tensor& self)
获取npu tensor的内存大小,返回值类型vector<int64_t>,表示获取的npu tensor内存大小。
self:Tensor类型,待获取内存大小的tensor。