- 06 4月, 2020 1 次提交
-
-
由 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
-
- 04 4月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
This CR makes two changes: 1. In old loop_transformer, if a class variable, such as "self.a, foo.bar" is a loop var, the Dy2stat will fail because `def func(self.foo)` is not legal syntax. We support class variable by renaming. 2. After https://github.com/PaddlePaddle/Paddle/pull/22892 is merged, we can support `while x < 10` in dygraph. I enable those tests in corresponding Dy2stat
-
由 Aurelius84 提交于
* Add unitTest for `Tensor==constant` for ifElse in dygraph2static test=develop
-
- 03 4月, 2020 2 次提交
-
-
由 zhongpu 提交于
* support if logic for Variable in dygraph, test=develop * fix test_learning_rate_scheduler.py, test=develop * fix optest, test=develop * fix error message, test=develop * fix optest,test=develop * fix comment, test=develop
-
由 zhongpu 提交于
* support forward hook for dygraph, test=develop * add optest for forward_hook in dygraph, test=develop * add optest, test=develop * polish code, test=develop * add sample code, test=develop * rename forwrd_hook to forward_post_hook, test=develop * fix the api description, test=develop * fix api description, test=develop
-
- 01 4月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
1. Add data_layer_not_check because it is needed in dygraph_to_static where input can be variable size 2. Remove warnings in static analysis because python cannot do exact static analysis
-
- 31 3月, 2020 4 次提交
-
-
由 Huihuang Zheng 提交于
* Remove Read-Only Basic Type Variable in loop_vars test=develop * Put class support in loop for future thing test=develop * Modify based on reviewer's comment test=develop
-
由 hong 提交于
-
由 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
-
由 Aurelius84 提交于
* Support Parameter type determination test=develop
-
- 30 3月, 2020 1 次提交
-
-
由 zhongpu 提交于
* support math operator for variable, test=develop * polish code, test=develop * polish code, test=develop
-
- 29 3月, 2020 2 次提交
-
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
-
- 27 3月, 2020 1 次提交
-
-
由 Zeng Jinle 提交于
* expose dygraph.grad api, test=develop, test=document_fix * add more parameter in dygraph.grad API, test=develop * add only_inputs=True parameter, test=develop * follow comments, test=develop, test=document_fix * fix typo, test=develop, test=document_fix
-
- 26 3月, 2020 5 次提交
-
-
由 Huihuang Zheng 提交于
1. Add Decorator 'dygraph_to_static_program' 2. Add corresponding ProgramTranslator.get_program 3. Add ProgramTranslator.save_inference_model 4. Modified some warning information of dy2stat 5. Change program cache to contain startup_program because for users who gets program to run, they may like to initialize startup program
-
由 Aurelius84 提交于
* add unittest test=develop * add function cache test=develop
-
由 Aurelius84 提交于
* Add parameter(learning_rate) in NoamDecay test=develop
-
由 liym27 提交于
-
由 liym27 提交于
-
- 25 3月, 2020 3 次提交
-
-
由 Huihuang Zheng 提交于
This PR does exact the thing as the title. The reason is that we plan to develop 4 decorators "dygraph_to_static_code" "dygraph_to_static_program" "dygraph_to_static_func" "dygraph_to_static_output" The 4 decorators will emphasize different part when translating dygraph to static graph. Decorator name "dygraph_to_static_graph" is too big for the function it implements.
-
由 Huihuang Zheng 提交于
As the title, we add decorator "dygraph_to_static_code", and add related "get_code", "get_func", "get_output" for ProgramTranslator. Next step will be adding "dygraph_to_static_program"
-
由 songyouwei 提交于
test=develop
-
- 24 3月, 2020 2 次提交
- 23 3月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
1. Rename AutoTracer to ProgramTranslator 2. Rename cached_program to program_cache 3. Remove some functor style __call__ 4. Dict key should be string but not hash code of string
-
- 20 3月, 2020 2 次提交
-
-
由 Zeng Jinle 提交于
* add double grad implementation for dygraph, test=develop * polish code, add uts, test=develop * fix place bug, test=develop * polish codes, add more uts for coverages, test=develop * add no_grad_set, test=develop * add star gan ut, test=develop * follow comments, test=develop
-
由 Huihuang Zheng 提交于
As the title
-
- 19 3月, 2020 4 次提交
-
-
由 songyouwei 提交于
* move __getitem__ to cpp * bug fix * add type check and gil release * support negative step with omitted ends test=develop * code refine test=develop * bug fix test=develop * slice always return different pyobj test=develop
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
* Support to use external function test=develop * refine the parms of ast_to_func test=develop
-
由 Huihuang Zheng 提交于
1. Add support for Break and Continue in Dygraph to Static 2. Also add support for gast.Not in NodeTestTransformer 3. Also add support for logical op transformation in LoopTransformer
-
- 18 3月, 2020 2 次提交
-
-
由 liym27 提交于
-
由 Aurelius84 提交于
* Support and/or in controlFlow if test=develop
-
- 17 3月, 2020 1 次提交
-
-
由 liym27 提交于
* Support Tensor.shape in control flow if/for/while and separate TensorShapeTransformer from BasicApiTransformer. test=develop
-
- 14 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Support and/or in controlFlow if test=develop * Refine IsControlFlow interface test=develop
-
- 12 3月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
* add dygraph parallel env doc, test=develop * polish details, test=develop, test=document_fix * fix examples error in other apis, test=develop * fix more example error in other api, test=develop * add white list for gpu examples, test=develop, test=document_fix
-
由 liym27 提交于
* support list in control flow if. test=develop * support list in for/while and supplement tests. test=develop
-
- 11 3月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
1. Add basic support for `for in range` loop 2. Move `test_dygraph_to_static_*` to `dygraph_to_static` dir and rename them 3. Add test case for dict in while_loop
-
由 Aurelius84 提交于
+ Refine code structure and move code related with control flow `if` into `ifelse_transformer.py` + Merge code of `ast_utils.py` into `utils.py`
-
- 10 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
-