1. 07 9月, 2017 1 次提交
  2. 21 8月, 2017 1 次提交
  3. 10 8月, 2017 1 次提交
  4. 09 8月, 2017 1 次提交
  5. 08 8月, 2017 1 次提交
    • Y
      fix some enforce (#3301) · 2af35002
      Yan Chunwei 提交于
      * fix some enforce
      
      * remove compatible_type to avoid compile error
      
      * remove shared_ptr
      
      * fix tensor error msg
      2af35002
  6. 07 8月, 2017 1 次提交
  7. 03 8月, 2017 2 次提交
  8. 02 8月, 2017 1 次提交
  9. 31 7月, 2017 2 次提交
  10. 28 7月, 2017 3 次提交
  11. 25 7月, 2017 4 次提交
  12. 21 7月, 2017 1 次提交
  13. 19 7月, 2017 6 次提交
  14. 18 7月, 2017 2 次提交
  15. 17 7月, 2017 4 次提交
  16. 15 7月, 2017 4 次提交
  17. 14 7月, 2017 5 次提交
    • F
      update PADDLE_ENFORCE message · 57a22db3
      fengjiayi 提交于
      57a22db3
    • F
      update tensor.h · 34beec0f
      fengjiayi 提交于
      34beec0f
    • F
      change int numel_ to size_t numel · 8594d5c3
      fengjiayi 提交于
      8594d5c3
    • F
      fix several compile error · 1f97388a
      fengjiayi 提交于
      1f97388a
    • F
      Refactor Tensor::CopyFrom() · dcfcf687
      fengjiayi 提交于
      1. Add template T which indicates data type to `CopyFrom()`, `Slice()`
      and `ShareData()` functions. This makes `CopyData()` code much clearer.
      
      2. Add `set_dim()`.
      
      3. `product(DDim)` transforms `DDim` to `vector<int>` first and then calculate
      its product. That might be quite slow. For `product(dims_)` is frequently
      used in Tensor, we add a mumber variable `numel_` as a cache of the
      product result.
      TODO: refactor `product()` to make it more efficient.
      
      4. Unable Tensor::operator=
      
      5. Remove the limit of POD type, because `float16` and `int8` are not POD type.
      dcfcf687