Skip to main content

Module tensor

Module tensor 

Source

Structs§

ArcTensor
原子引用计数(线程安全)张量句柄。
RcTensor
引用计数(非线程安全)张量句柄。
Tensor

Functions§

load_npy
Load a Tensor from a .npy file.
save_npy
Save a Tensor to a .npy file. The tensor must be on CPU and contiguous.