Remove `numel` field in tensor
* It is duplicated with `dim_`. We can use `dim_` to calculate `numel` everytime. It does not cost too much. * `numel` is not initialized by constructor. Also, `numel` is hard to synchronize with `dim_`. So just remove it.
Showing
想要评论请 注册 或 登录