1. 13 7月, 2020 1 次提交
    • H
      [Dy2stat] Fix Memory Optimization in run_program_op and Add SimNet as Unit Test (#25383) · f9ac5fb9
      Huihuang Zheng 提交于
      Add Similarity Net as unit test. During the unit test, we found three problems:
      
      1. The run_program_op has memory optimization error when running dy2stat net multiple times.
      2. The support for SelectedRows can cause problem in dy2stat.
      3. The return grammar has problem.
      
      This PR fixes the 1. problem but modify codes for the 2. 3. problems to make PR smaller. I will fix those two problems in the next PR(s)
      f9ac5fb9
  2. 09 6月, 2020 1 次提交
  3. 08 5月, 2020 1 次提交
  4. 06 4月, 2020 1 次提交
    • C
      Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model (#23171) · 75bd3507
      Chen Weihang 提交于
      * static model runner basic implement, test=develop
      
      * add run program op to execute loaded program, test=develop
      
      * refactor static model runner & run program op, test=develop
      
      * reset engine.cc to resolve conflict
      
      * adapt the change of dygraph double grad, test=develop
      
      * refactor impl to solve control flow error, test=develop
      
      * clear debug code, test=develop
      
      * fix ci str compatible error & checkout dygraph grad maker & add example, test=develop
      
      * hide api & add op test, test=develop
      
      * fix run program op test places error, test=develop
      
      * fix program by review comment, test=develop
      
      * delete change var desc name, test=develop
      
      * fix other program by review comment, test=develop
      
      * remove _static_graph_guard, test=develop
      
      * add selectedrows test, test=develop
      
      * remove desc parser, test=develop
      
      * fix detail program, test=develop
      
      * change socpe create & add test, test=develop
      75bd3507