nelement()方法

 pytorch中的 nelement() 可以统计 tensor 的元素个数。

原文地址:https://www.cnblogs.com/xyzluck/p/12928424.html