“41e19eb4319695a02b01649409ebd34cbb6350d7”上不存在“paddle/phi/kernels/cpu/where_grad_kernel.cc”
  • Y
    Remove `numel` field in tensor · a0ce05df
    Yu Yang 提交于
    * 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.
    a0ce05df
tensor.h 5.2 KB