- 29 9月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
Refine Dy2stat APIs to 2.0rc After discussion, we accepted 3 key points from reviewers: 1. In 2.0rc we changed dygraph_to_static folder to dy2static 2. Keep the three files: convert_call_func.py, convert_operators.py, variable_trans_func.py 3. Remove convert_operators path when users import convert_xxx. After this PR, users can import convert_xxx APIs by: `import paddle.jit.dy2static.convert_xxx` The file structure will be: ``` jit dy2static convert_operators.py convert_func_call.py variable_trans_func.py ``` Detail changed API in files: In python/paddle/jit/dygraph_to_static/convert_call_func.py: from ...fluid.dygraph.dygraph_to_static.convert_call_func import convert_call #DEFINE_ALIAS In python/paddle/jit/dygraph_to_static/convert_operators.py: from ...fluid.dygraph.dygraph_to_static.convert_operators import cast_bool_if_necessary #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_assert #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_ifelse #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_len #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_and #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_not #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_logical_or #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_print #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_dtype #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_var_shape #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.convert_operators import convert_while_loop #DEFINE_ALIAS In python/paddle/jit/dygraph_to_static/variable_trans_func.py: from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_fill_constant_node #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.variable_trans_func import create_static_variable_gast_node #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.variable_trans_func import data_layer_not_check #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable #DEFINE_ALIAS from ...fluid.dygraph.dygraph_to_static.variable_trans_func import to_static_variable_gast_node #DEFINE_ALIAS
-
- 14 4月, 2020 1 次提交
-
-
由 Chengmo 提交于
* fix judge pslib & ranspiler
-
- 10 4月, 2020 1 次提交
-
-
由 zhongpu 提交于
* add instance_norm op for dygraph, test=develop * add error message, test=develop
-
- 23 3月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
-
- 17 9月, 2018 1 次提交
-
-
由 yuyang 提交于
-
- 03 9月, 2018 1 次提交
-
-
由 chengduo 提交于
* fix high level API(Inference) bug * patch the unit tests
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 18 6月, 2018 1 次提交
-
-
由 qiaolongfei 提交于
-
- 09 6月, 2018 1 次提交
-
-
由 Jeff Wang 提交于
* Use for_test=True in the Fluid Trainer to clone the test program * fix typo * Should do the samething to the inferencer
-
- 24 5月, 2018 1 次提交
-
-
由 daminglu 提交于
-
- 18 5月, 2018 1 次提交
-
-
由 qiaolongfei 提交于
-
- 17 5月, 2018 2 次提交
-
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
- 16 5月, 2018 1 次提交
-
-
由 daminglu 提交于
-
- 12 5月, 2018 1 次提交
-
-
由 Qiao Longfei 提交于
* add Inference.infer * optimize code * update no_test_word2vec_new_api.py * update trainer * split check_and_get_place * use inference_program to save inference model in Trainer * update demo * update save_inference_model * clean code
-
- 05 5月, 2018 1 次提交
-
-
由 Jeff Wang 提交于
* Load/save the params from the params_path * Switch to use load_persistables and save_persistables * Instaed of setup the executor to run program and scope. Pass the program to the load_persistables
-
- 03 5月, 2018 1 次提交
-
-
由 Helin Wang 提交于
- The trainer and inferencer will load params from disk if param_path argument is not None in their constructor. - Remove params.py, we will expose core.Scope to the user if needed (e.g., for GAN). Currently we will not expose it, unless we clearly know doing so can support GAN. - Add `save_params` to Trainer (a TODO item). - rename "network" to "program"
-
- 02 5月, 2018 4 次提交
-
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
- 12 2月, 2018 1 次提交
-
-
由 qingqing01 提交于
-
- 21 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 12 11月, 2016 1 次提交
-
-
由 qijun 提交于
-
- 28 9月, 2016 1 次提交
-
-
由 Yu Yang 提交于
* Fix lots of trainer_config_helpers bug, and complete unittest for `layers.py`
-