1. 04 12月, 2020 3 次提交
    • C
      Support type promote for basic math ops (quantum required) (#29265) (#29354) · 0e7539e7
      Chen Weihang 提交于
      * basic impl of type promote
      
      * add comment & another testcase
      
      * fix complex bugs & support python op promote type
      
      * fix failed unittests & polish code
      
      * add unittest for coverage
      
      * change to only promote complex type
      
      * polish code details
      
      * polish several comments
      0e7539e7
    • L
      [Cheery-Pick 2.0.0-rc1][Dy2stat] Add a decorator paddle.jit.not_to_static to... · 8e0d688a
      liym27 提交于
      [Cheery-Pick 2.0.0-rc1][Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253) (#29340)
      
      Usage scenarios:A function could have run successfully in static mode,  you can use it to decorate a function in the following cases:
        1. An unknown error occurs in the dynamic-to-static conversion process of the function;
        2. In the internal implementation of the function, it has two branches: dynamic branch and static branch;
        3. Users don't want to convert the function in the process of dynamic to static.
      8e0d688a
    • L
      use has_grad instead of train_mode (#29309) (#29346) · 0a7c7c1c
      Leo Chen 提交于
      * use has_grad instead of train_mode
      
      * add vlog for debug
      
      * fix ut
      
      * fix ut
      0a7c7c1c
  2. 03 12月, 2020 10 次提交
  3. 02 12月, 2020 5 次提交
  4. 01 12月, 2020 7 次提交
  5. 30 11月, 2020 15 次提交