1. 13 5月, 2020 5 次提交
  2. 12 5月, 2020 3 次提交
  3. 09 5月, 2020 5 次提交
  4. 08 5月, 2020 5 次提交
    • 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
    • H
      Fix get item out of range error (#24339) · 67f66f09
      hong 提交于
      * raise index error when slice out of range; test=develop
      
      * add uni test; test=develop
      
      * fix format error; test=develop
      
      * add comment for py::index_error; test=develop
      
      * polish error message; test=develop
      
      * polish error message; test=develop
      67f66f09
    • A
      [dy2static] Support for static graph training with @declarative decorator (#24259) · 1ed8baf9
      Aurelius84 提交于
      * support to train in static
      
      * support to independent decorator
      
      * remove in_dygraph_mode condition in ProgramTranslator
      
      * fix import param_guard and add train/eval test=develop
      
      * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
      1ed8baf9
    • H
      Add Assert Op (#24280) · 8a1a2af8
      Huihuang Zheng 提交于
      1. To make ProgramTranslator to support `assert` grammar, this PR adds `assert` python API and C++ code. 
      
      2. Fix a bug: graph_pattern_detector.h #include <gtest/gtest_prod.h> but didn't declared dependency at CMakeLists, which can cause single build failure.
      
      3. Refactoring `Formatter` in print_op to make it reusable and reuse the formatter to print in assert op.
      8a1a2af8
    • L
      Fix error message of load_inference_model (#24314) · 5b285470
      Leo Chen 提交于
      * fix error message, test=develop
      
      * add unittest, test=develop
      5b285470
  5. 07 5月, 2020 3 次提交
  6. 06 5月, 2020 3 次提交
    • L
      [Dy2Stat]Support list pop (#24250) · ac9a7eee
      liym27 提交于
      * Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py
      
      * Add comments in ConditionalBlock.
      
      * Support list pop last item. 
      
      * Support pop the i-th item. 
      
      * Support an empty tensor array as Input in assign op and set the kernel type is float.
      ac9a7eee
    • X
      Fix dygraph rnn doc (#24148) · f79526c2
      Xing Wu 提交于
      * update dygraph.rnn import
      
      * update dygraph.rnn import
      
      * change unit to cell
      
      * fix math equations
      
      * fix math equations
      
      * fix examples
      
      * remove unused import
      
      * fix examples
      f79526c2
    • X
      Fix error info (#23891) · fff5cfa3
      Xing Wu 提交于
      * fix error info for rnn related api
      
      * passed local test, test=develop
      
      * double check the code
      
      * double check the code, test=develop
      
      * update 'shape' check in RNNCell, test=develop
      
      * add long dtype to RNNCell
      
      * fix long type in python3
      Co-authored-by: NXingWu01 <wuxing@iie.ac.cn>
      fff5cfa3
  7. 01 5月, 2020 1 次提交
  8. 30 4月, 2020 7 次提交
  9. 29 4月, 2020 2 次提交
  10. 28 4月, 2020 6 次提交