1. 04 9月, 2019 1 次提交
    • 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
  2. 16 7月, 2019 1 次提交
  3. 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
  4. 21 8月, 2018 1 次提交
  5. 16 8月, 2018 1 次提交
  6. 14 4月, 2018 1 次提交
  7. 15 3月, 2018 1 次提交
  8. 12 2月, 2018 1 次提交
  9. 10 2月, 2018 2 次提交
  10. 20 10月, 2017 1 次提交
  11. 04 10月, 2017 1 次提交
  12. 03 10月, 2017 1 次提交
  13. 29 9月, 2017 2 次提交
  14. 28 9月, 2017 1 次提交
  15. 05 9月, 2017 1 次提交
  16. 04 9月, 2017 1 次提交
  17. 26 8月, 2017 1 次提交
  18. 25 8月, 2017 1 次提交
  19. 22 8月, 2017 1 次提交
  20. 15 8月, 2017 1 次提交
  21. 07 8月, 2017 1 次提交
  22. 05 8月, 2017 1 次提交
  23. 02 8月, 2017 2 次提交
  24. 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
  25. 25 7月, 2017 1 次提交
  26. 19 7月, 2017 4 次提交
  27. 17 7月, 2017 3 次提交
  28. 14 7月, 2017 1 次提交
  29. 13 7月, 2017 2 次提交
    • Y
      Follow comments · 79b70c2d
      Yu Yang 提交于
      * Convert `op` --> `operators`
      * Remove AddType in OpProtoMaker, because type is part of registry.
      * Rename CPU_OR_GPU --> DEVICE_TYPE in registry macro.
      79b70c2d
    • Y
      Add a sample op, `add_op` · a0aaafe9
      Yu Yang 提交于
      * Refine register methods, make Op can get rid of whole-archieve
      * `USE_OP` before a op is used.
      * Add unittest for add_op.
      a0aaafe9