“3662de805eb8a9a9536b9b3d623bba2355881780”上不存在“doc/api/v1/trainer_config_helpers/layers.html”
  • 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_impl.h 5.5 KB