Fork自 PaddlePaddle / Paddle
体验新版 GitCode,发现更多精彩内容 >>
* 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.
拖放文件到此处或点击上传