1. 02 3月, 2022 1 次提交
  2. 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
  3. 22 1月, 2021 1 次提交
  4. 13 5月, 2020 1 次提交
  5. 04 9月, 2019 2 次提交
    • S
      add scatter_nd op and scatter_nd_add op (#19571) · 2cd3fa3e
      ShenLiang 提交于
      * add scatter_nd op, test=document_preview test=develop
      
      * fixed the document, test=document_preview test=develop
      
      * modify the notes, test=document_preview test=develop
      
      * remove the ShareDataWith, test=develop
      2cd3fa3e
    • W
      Add the support the int64 data type of `scatter_op` input Index(#18804) (#19508) · 364c4442
      wawltor 提交于
      * test=develop
      Fix the scatter op bug when use the add mode, and support the int64 data type of scatter_op Index(#18804).
      
      * test=develop
      Remove the PADDLE_ENFORCE and use PADDLE_ENFORCE_EQ
      
      * test=develop
      Remove the fix bug of scatter_add, and just add the support of int64 in scatter_add
      
      * test=develop
      Add the test case for scatter op, the test case just for index int64
      364c4442
  6. 16 7月, 2019 1 次提交
  7. 12 6月, 2019 1 次提交
    • W
      Fix scatter and gather op when has duplicate index (#17952) · 8eb134c3
      wawltor 提交于
      * test=develop
      The scatter op has a calc bug when the indices has same index, the scatter op use overwrite mode to calculate the same index, fix this bug by using the accumulate mode to calculate the same index.At the same time, the gather op has the same bug when the op calc the grad. And we use the lib of open-blas and eigen to optimize the time cost in accumulate mode.
      
      * test=develop
      Fix some code format problem, and the same time add the test case in gather and scatter op
      8eb134c3
  8. 21 8月, 2018 1 次提交
  9. 16 8月, 2018 1 次提交
  10. 14 4月, 2018 1 次提交
  11. 15 3月, 2018 1 次提交
  12. 12 2月, 2018 1 次提交
  13. 10 2月, 2018 2 次提交
  14. 20 10月, 2017 1 次提交
  15. 04 10月, 2017 1 次提交
  16. 03 10月, 2017 1 次提交
  17. 29 9月, 2017 2 次提交
  18. 28 9月, 2017 1 次提交
  19. 05 9月, 2017 1 次提交
  20. 04 9月, 2017 1 次提交
  21. 26 8月, 2017 1 次提交
  22. 25 8月, 2017 1 次提交
  23. 22 8月, 2017 1 次提交
  24. 15 8月, 2017 1 次提交
  25. 07 8月, 2017 1 次提交
  26. 05 8月, 2017 1 次提交
  27. 02 8月, 2017 2 次提交
  28. 01 8月, 2017 1 次提交
    • Q
      use operator context and infer context (#3024) · 61ebacbc
      Qiao Longfei 提交于
      * use operator context
      
      * optimize code
      
      * update net infershape
      
      * update InferShape
      
      * disable override InferShape(scope) in OperatorBase
      
      * change InferShapeImpl to InferShape
      
      * add template to OperatorContext Input/Output
      
      * merge Input InputVar, Output OutputVar
      
      * change Inputs to MultiInput
      
      * fix conflict
      
      * fix MultiInput bugs and add unit test
      
      * rename KernelContext to ExecutionContext
      
      * clean code
      
      * change InferShape to protected
      
      * fix template bug
      
      * refine code
      
      * use InputVar instead of Input<Variable>
      
      * typo
      
      * optimize code
      61ebacbc
  29. 25 7月, 2017 1 次提交
  30. 19 7月, 2017 4 次提交
  31. 17 7月, 2017 3 次提交