- 11 1月, 2023 1 次提交
-
-
由 Ryan 提交于
* add enable_to_static and drop some methods of ProgramTranslator * fix code style * fix cant import enable_to_static and update unitest * change unitest and rollback code of PT * fix can't import as of utils * roll back PT * fix roll back * add some unitest * add unitest and fix codestyle bug in api.py * finish all unitest * remove ProgramTranslator * fix code style * restore test_program_translator * api.py remove get_func * TestDygraphToStaticCode * fix check_type and import err * roll back PT without getcode * roll back pt with get_code * convert_to_static * fix import __all__
-
- 10 1月, 2023 1 次提交
-
-
由 hjyp 提交于
* Add ignore_module API * fix type of parameter * Add test case of ignore-module
-
- 19 12月, 2022 1 次提交
-
-
由 hjyp 提交于
* 移除 declarative 接口 * 修改 CI报错,清理注释
-
- 16 12月, 2022 1 次提交
-
-
由 YuanRisheng 提交于
* move translated layer * fix build bugs * fix unittest bug * trigger ci
-
- 13 12月, 2022 1 次提交
-
-
由 JYChen 提交于
* remove non-public apis from __all__ * fix code style
-
- 08 12月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [API Clean]Clean __all__ to avoid exposing usless API * fix import * fix typo * remove tracedLayer unittest
-
- 28 11月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean] Migrate program_translate.py/jit.py into paddle.jit dir
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 11 1月, 2022 1 次提交
-
-
由 Ming-Xu Huang 提交于
* Pre-save hooks of jit.save 1. Added pre_save_hooks features to jit.save. 2. Added related unittests * Added jit pre_save_hooks functions's alias to paddle.jit and copyright. * Make jit.save_pre_hook style be consisent with Paddle's rule. * Fixed arguments passing bug in run_save_pre_hooks * Added API Documents * Move clear and run_pre_save_hooks as internal methonds only. * Made register_save_pre_hook as an internal function.
-
- 11 6月, 2021 1 次提交
-
-
由 zhiboniu 提交于
* update 2.0 public api in all left files * reverse device.py all list; fix some flake8 errors
-
- 03 12月, 2020 1 次提交
-
-
由 liym27 提交于
[Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253) Usage scenarios:A function could have run successfully in static mode, you can use it to decorate a function in the following cases: 1. An unknown error occurs in the dynamic-to-static conversion process of the function; 2. In the internal implementation of the function, it has two branches: dynamic branch and static branch; 3. Users don't want to convert the function in the process of dynamic to static.
-
- 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
-
- 03 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* support load infer model format state dict * add unittests * remove keep name table * recolve circle inport * fix compatible problem * recover unittest * polish doc and comment
-
- 28 8月, 2020 1 次提交
-
-
由 liym27 提交于
* [Dy2Stat] Add debugging and logging mechanism for dygraph to static. * Remove TransformerError temporarily. * import mock in PY2, from unittest import mock in PY3. test=develop * Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface. * polish doc of set_verbosity and set_code_level.
-
- 13 8月, 2020 1 次提交
-
-
由 pangyoki 提交于
* fixed static module * solve conflict * remove original name for alias API
-
- 11 8月, 2020 1 次提交
-
-
由 pangyoki 提交于
* Directory migration, test=develop * Change imperative from paddle init to paddle framework, test=develop * Fixed jit bug, test=develop * default static mode, test=develop * fixed format and create parameter belongs to framework, test=develop * Fixed import package, test=develop * fix __init__ format, test=develop * fixed alias problem * fixed paddle.enable_imperative problems, test=develop * Add unittest * delete install_check comment * Fixed unittest timeout * fixed unittest error * move Program default_xx_program to static package * optimize unittest method * fixed framework __init__ format * fixed jit path * delete alias * move jit to paddle * Fixed unittest format * fixed paddle.default_main_program * Fixed save load API in paddle __init__.py * fixed ci paddle.imperative.to_variable
-
- 15 5月, 2020 1 次提交
-
-
由 hong 提交于
* add base name alias; test=develop * fix embedding bug; test=develop * fix io error; test=develop * add metric; test=develop * add import palce; test=develop * add setup; test=develop * fix incubate reader; test=develop * fix initializer error; test=develop
-
- 23 3月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
-
- 16 8月, 2019 1 次提交
-
-
由 Tao Luo 提交于
* remove unused inference_transpiler unit-tests test=develop * remove InferenceTranspiler usage in quantize_transpiler.py test=develop
-
- 20 9月, 2018 3 次提交
-
-
由 Dang Qingqing 提交于
-
由 luotao1 提交于
-
由 luotao1 提交于
-
- 19 9月, 2018 1 次提交
-
-
由 luotao1 提交于
-
- 13 9月, 2018 1 次提交
-
-
由 Dang Qingqing 提交于
-
- 05 9月, 2018 1 次提交
-
-
由 Dang Qingqing 提交于
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 16 7月, 2018 1 次提交
-
-
由 gongweibao 提交于
-
- 31 5月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 15 5月, 2018 1 次提交
-
-
由 Yancey 提交于
* add dist transpiler unit test * update by comment * update by comment * fix ci * fix ci
-
- 10 5月, 2018 1 次提交
-
-
由 Yancey1989 提交于
-
- 07 5月, 2018 1 次提交
-
-
由 Yancey 提交于
-
- 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
-
- 17 6月, 2017 1 次提交
-
-
由 Helin Wang 提交于
-
- 15 6月, 2017 1 次提交
-
-
由 Helin Wang 提交于
-