1. 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
  2. 03 8月, 2017 2 次提交
  3. 02 8月, 2017 1 次提交
  4. 31 7月, 2017 2 次提交
  5. 28 7月, 2017 3 次提交
  6. 25 7月, 2017 4 次提交
  7. 21 7月, 2017 1 次提交
  8. 19 7月, 2017 6 次提交
  9. 18 7月, 2017 2 次提交
  10. 17 7月, 2017 4 次提交
  11. 15 7月, 2017 4 次提交
  12. 14 7月, 2017 7 次提交
  13. 12 7月, 2017 2 次提交
    • F
      Add Tensor::CopyFrom and Tensor::mutable_data(Place place) · 69d99d48
      fengjiayi 提交于
      1. Add `Tensor::CopyFrom`. Current version can only support CPU memory
      copy. The support of GPU will be provided later by `paddle::memory`.
      The current implementation of `Tensor::CopyFrom` is a little inefficient:
      Every time `CopyFrom` is called, tensor will re-allocate its memory. However, if
      we try to check and reuse `placeholder_`, we have to provide a template
      parameter for `CopyFrom` to indicate the data type. It seems strange for
      a simple copy function.
      
      2. Add `Tensor::mutable_data(Place place)`, which directly use member
      variable `dims_` as its dim parameter. This interface is required by
      `Op::InferShape`.
      69d99d48
    • F
      fix some syntax problems · 2dccab87
      fengjiayi 提交于
      2dccab87
  14. 11 7月, 2017 1 次提交