1. 10 10月, 2019 1 次提交
  2. 17 9月, 2019 1 次提交
    • L
      add tensor support for argument shape in reshape op; (#19268) · bd89a273
      liym27 提交于
      add support parameter inference when argument shape is a list containing integer and tensor variable;
      test=develop
      
      fix reshape op according to reviews:
      1. improve or message;
      2. improve test of test_api.
      test=develop,test=document_preview
      
      fix reshape op: Add error message in nn.py, test=develop
      
      add stop_gradient=True when attr(shape) is tensor Variable.
      change examples in API reshape.
      test=develop,test=document_preview
      bd89a273
  3. 10 6月, 2019 1 次提交
    • H
      Reshape support tensor attribute (#17781) · 8062bd51
      Hongyu Liu 提交于
      * add reshape support tensor; test=develop
      
      * fix reshape bug; test=develop
      
      * change reshape attribute default value; test=develop
      
      * fix reshape input name; test=develop
      
      * fix reshape unitest; test=develop
      
      * check dim tensor shape; test=develop
      8062bd51
  4. 20 9月, 2018 1 次提交
    • C
      Feature/op_fuse_pass (#12440) · d402234b
      chengduo 提交于
      * Add Preface
      
      * Add demo code
      
      * Save file
      
      * Refine code
      
      * seems can work
      
      * use elementwise strategy
      
      * Use ElementwiseComputeEx
      
      * Add comments
      
      * extract functions from operator
      
      * Refine code
      
      * Follow comment
      
      * code refine
      
      * add op_fuse  pass
      
      * add backward
      
      * code refine
      
      * use TopologySortOperations
      
      * follow comments
      
      * refine IsFusible
      
      * code enhance
      
      * fix op_fusion_pass
      
      * refine code
      
      * refine fuse_elemwise_act_op
      
      * adjust the input and output
      
      * refine logic
      
      * add intermediate_edge
      
      * disable inplace
      
      * follow comments
      
      * refine logic
      
      * follow comments
      
      * Remove the removable IntermediateOut
      
      * change strategy
      
      * code refine
      
      * enable fuse backward
      
      * code refine
      
      * code refine
      
      * rename unit test
      
      * follow comments
      d402234b
  5. 06 9月, 2018 1 次提交
  6. 15 8月, 2018 1 次提交
  7. 31 7月, 2018 1 次提交
    • D
      Memory/reshape op (#12414) · 91fb0156
      dzhwinter 提交于
      * "remove inplace in single op"
      
      * "fix ci"
      
      * "add transpiler case"
      
      * fix conflict
      
      * "fix reshape"
      
      * "delete reshape inplace attr"
      
      * "follo the comments"
      
      * "rerun ci"
      91fb0156
  8. 26 7月, 2018 2 次提交
  9. 02 4月, 2018 1 次提交
  10. 28 3月, 2018 2 次提交
  11. 13 3月, 2018 1 次提交
  12. 12 3月, 2018 1 次提交
  13. 08 3月, 2018 1 次提交
  14. 07 3月, 2018 1 次提交
  15. 24 2月, 2018 1 次提交
  16. 13 2月, 2018 1 次提交
    • X
      Run Python OP tests in a single Python process to improve test time. (#8362) · cde6241a
      Xin Pan 提交于
      Currently, our tests run with 2 GPUs, the init time is absurdly long:
      about 4s for each process.  Currently, we run each OP test on
      different processes. This PR:
      
      1. create cmake function py_test_modules which will generate the
      Makefile that runs a list of Python unittest module in a single Python
      process.
      
      2. move all "python unittest compatible" (e.g., used the unittest
      package, not just a regular python file). from fluid/tests to
      fluid/tests/unittests.
      
      3. cmake now will run all OP tests in fluid/tests/unittests in a
      single process, except the time-consuming tests, they are separated
      into different processes to utilize parallelism. Please make sure to
      use the unittest package if you put the python test file in
      fluid/tests/unittests
      
      4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
      to disable unittest, we can not do it when running all tests in a
      single process since it will terminate the process without running the
      other tests. Instead, the test is disabled in
      fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
      item. Please disable the unittest from
      fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
      Python file, for all Python file in fluid/tests/unittests/.
      
      5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
      tests in separate process so that they can be tested individually.
      cde6241a
  17. 12 2月, 2018 1 次提交
  18. 21 1月, 2018 1 次提交
    • D
      "fix decode bug" (#7711) · e983cc90
      dzhwinter 提交于
      * "fix decode bug"
      
      * "follow commnet"
      
      * "fix error"
      
      * "fix hook bug"
      
      * fix based comment
      
      * fix copyright
      
      * fix based on comment
      e983cc90
  19. 15 1月, 2018 1 次提交
    • D
      Feature/hooks (#7513) · b9b75377
      dzhwinter 提交于
      * add copyright hook
      
      * add copyright hook
      
      * refine copyright hook
      
      * "test copyright hook"
      
      * fix check style
      
      * fix ci
      b9b75377
  20. 14 12月, 2017 1 次提交
  21. 14 11月, 2017 1 次提交
  22. 12 9月, 2017 1 次提交
  23. 11 9月, 2017 2 次提交
  24. 07 9月, 2017 2 次提交