1. 24 12月, 2021 1 次提交
    • J
      Support test imperative basic in eager (#38313) · d48f7c89
      Jiabin Yang 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * support more eager tensor api
      
      * fix merge compile error
      
      * fix compile error and fit develop code
      
      * support pure CPU
      
      * fix some logic error in eager_mode
      
      * support _varbase_creator in eager mode
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      
      * for eager mode
      
      * refine
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * eager logic
      
      * refine test in pure cpu
      
      * eager logic
      
      * eager logic
      
      * eager logic, test=develop
      
      * skip core.eager when in inference, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call RetainGrad after run forward kernel, test=develop
      
      * refine, test=develop
      
      * support dygraph util, meta, guard test
      
      * support inference test
      
      * refine test and fix initializer failed
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      d48f7c89
  2. 20 10月, 2021 1 次提交
    • S
      Add FasterTokenizer Operator (#34491) · 3f2d6a3f
      Steffy-zxf 提交于
      Add Tokenizer related functionalities for Transformer model in order that the process of training and predicting is consistent.
      
      * support the text string as an input Tensor
      * support the "VOCAB"unordered_map<wstring, int> as an input Tensor to lookup tokens
      * Tokenizer used for BERT. This tokenizer applies an end-to-end, text string to wordpiece tokenization.
      * It first applies basic tokenization, followed by wordpiece tokenization.
      3f2d6a3f
  3. 13 9月, 2021 1 次提交
  4. 08 9月, 2021 1 次提交
  5. 15 7月, 2021 1 次提交
  6. 22 6月, 2021 1 次提交
  7. 21 6月, 2021 1 次提交
  8. 16 6月, 2021 1 次提交
  9. 02 6月, 2021 1 次提交
  10. 27 4月, 2021 1 次提交
  11. 14 4月, 2021 1 次提交
  12. 24 2月, 2021 1 次提交
  13. 07 12月, 2020 1 次提交
  14. 04 12月, 2020 1 次提交
  15. 30 10月, 2020 1 次提交
  16. 28 10月, 2020 1 次提交
  17. 23 9月, 2020 1 次提交
  18. 14 9月, 2020 1 次提交
  19. 10 9月, 2020 1 次提交
  20. 02 9月, 2020 1 次提交
  21. 24 8月, 2020 1 次提交
  22. 21 8月, 2020 1 次提交
  23. 14 8月, 2020 1 次提交
    • Y
      Upgrade `no_grad` decorator (#25472) · 617eb67f
      Yang Zhang 提交于
      * Upgrade `no_grad` decorator
      
      test=develop
      
      - match torch decorator usage (i.e., with parenthesis)
      - handle generator functions
      - add `paddle.no_grad` alias
      
      * Switch from `functools` to `decorator`
      
      preserves signature
      
      * Reword decorator usage note
      617eb67f
  24. 27 5月, 2020 1 次提交
  25. 08 5月, 2020 1 次提交
    • H
      Fix np ndarray mul varbase (#24331) · 6d8dcc74
      hong 提交于
      * fix numpy ndarray mul var base error; test=develop
      
      * add comment for __array_ufunc__ ; test=develop
      
      * move unitest from imperative math op path to test_math_op_patch_var_base;
      test=develop
      6d8dcc74
  26. 10 4月, 2020 1 次提交
  27. 31 3月, 2020 1 次提交
    • L
      Feature/expand params in auto-generated pybind functions for dygraph operators (#23181) · 488b2387
      Leo Chen 提交于
      * expand parameters, test=develop
      
      * support resnet, test=develop
      
      * fix resnet, test=develop
      
      * support duplicable out, test=develop
      
      * support ptb
      
      * fix bugs, test=develop
      
      * support null input, test=develop
      
      * fix bugs, test=develop
      
      * fix batchNorm is_test, test=develop
      
      * refine code, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      488b2387
  28. 30 3月, 2020 1 次提交
  29. 24 12月, 2019 1 次提交
  30. 18 12月, 2019 1 次提交
  31. 16 12月, 2019 1 次提交
  32. 11 12月, 2019 1 次提交
  33. 05 12月, 2019 2 次提交
    • D
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  34. 10 10月, 2019 1 次提交
    • J
      Refine en doc (#20317) · b23f00a0
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, refine en_doc for Variable and Program
      
      * test=document_fix, fix English doc for Variable and Program
      
      * test=document_fix, refine astype code block style
      
      * test=document_fix, add example code for Variable properties
      b23f00a0
  35. 26 9月, 2019 1 次提交
  36. 18 9月, 2019 1 次提交
  37. 11 9月, 2019 1 次提交
  38. 30 5月, 2019 1 次提交
  39. 21 3月, 2019 1 次提交