1. 15 2月, 2022 1 次提交
    • A
      [PTen]Migrate proto::VarType outside of Pten (#39411) · 7e7e9404
      Aurelius84 提交于
      * #1 migrate dist-related type()-> dtype()
      
      * move datatype function from pten -> fluid/framework
      
      * change type() in imperative into convert(dtype())
      
      * modify xx_tensor->type into xx_tensor->dtype
      
      * change the set_type interface and the caller
      
      * modify xx_tensor.type into xx_tensor.dtype
      
      * fix mutable_data(place, dtype())
      
      * change caller of mutable_data in pten and distributed
      
      * change the caller of mutable_data in fluid/framework
      
      * change the caller of mutable_data in imperative directory
      
      * mutable_data: inference
      
      * update the call of mutable_data
      
      * transfer MakePenScalarArray MakePtenScalar ResetHolderWithType
      
      * pass the compile. the next step is remove VarType in Pten
      
      * fix all and remove VarType from pten. success in linux. Next task is other platform
      
      * fix conflict with develop
      
      * fix compiled error
      
      * Fix reset conversion
      
      * fix conflict
      
      * fix compiled problem
      
      * fix typo
      
      * Fix << in tensor_utils.cc
      
      * fix type->dtype
      
      * fix unittest
      
      * fix tensor init constructor
      
      * fix DataTypeSize for BFloat16
      
      * fix code style
      
      * fix npu compiled error
      
      * fix npu
      
      * compile npu sucessfully
      
      * fix conflict
      
      * fix conflict
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      7e7e9404
  2. 11 2月, 2022 1 次提交
  3. 18 1月, 2022 1 次提交
  4. 22 11月, 2021 1 次提交
  5. 11 8月, 2021 1 次提交
  6. 30 7月, 2021 1 次提交
  7. 09 6月, 2021 1 次提交
  8. 29 3月, 2021 1 次提交
  9. 04 3月, 2021 1 次提交
  10. 20 2月, 2021 1 次提交
  11. 04 2月, 2021 1 次提交
  12. 11 1月, 2021 2 次提交
  13. 23 12月, 2020 1 次提交
    • L
      [setitem] Support Tensor setitem in static mode (#29708) · 97e75ad0
      liym27 提交于
      1. Type of index: int, slice(step must be 1).
      
      2. Type of value: 
       (1) int32, int64, float32, bool; 
       (2) numpy.array(int32, int64, float32, bool);<Note: float64 is not supported>
       (3) paddle.Tensor(int32, int64, float32, float64, bool);
      97e75ad0