- 13 10月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
* polish save load en doc details, test=document_fix * polish details, test=document_fix * remove blank, test=document_fix * fix ascii error, test=document_fix * update fc's input to x, test=document_fix * update fc argument activation, test=document_fix
-
由 Zhou Wei 提交于
* fix doc and unittest of 2.0 lr_scheduler * fix doc of 2.0 lr_scheduler * fix unittest * fix english doc of lr_scheduler * fix api name of lr scheduler * fix api name of lr scheduler
-
- 11 10月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* replace config by kwargs * change save path form dir to prefix * fix failed unittests * revert unittest name change * polish en docs * add more tests for coverage
-
- 10 10月, 2020 1 次提交
-
-
由 Yiqun Liu 提交于
Polish the english documentation and example of paddle.nn.Linear and paddle.nn.functional.linear (#27759)
-
- 08 10月, 2020 3 次提交
-
-
由 wanghuancoder 提交于
* modify doc for ParameterList and LayerList, test=develop * add empty line after code-block, test=develop
-
由 wanghuancoder 提交于
-
由 wanghuancoder 提交于
* modify doc for Layer, test=develop * modify doc for Layer2, test=develop * set dtype default value to float32, test=develop * add example code for paddle.nn.Layer, test=develop * set create_parameter and create_variable dtype default value to None, test=develop * modify some example code, tet=develop * refine, test=develop * del no ues code, test=develop * modify doc, example code, args, test=develop * modify doc, test=develop
-
- 30 9月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 29 9月, 2020 6 次提交
-
-
由 Chen Weihang 提交于
-
由 Chen Weihang 提交于
* remove data parallel scale loss & apply collective_grads * move apply in minimize * fix failed unittests
-
由 Chen Weihang 提交于
* polish Program api doc & example * polish CompiledProgram api doc & example * polish ParallelEnv api doc & examples * polish details, test=document_fix * polish program doc details, test=document_fix * polish details, test=document_fix * fix note format error, test=document_fix * add lost example, test=document_fix * fix lost example, test=document_fix
-
由 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
-
由 Zhou Wei 提交于
-
由 Huihuang Zheng 提交于
This PR fixed two bugs when converting LSTM in dy2stat: is_unsupported has a condition can trigger Python syntax error LSTM API's implementation in _rnn_static_graph doesn't include parameter initialization, which can cause dy2stat error.
-
- 28 9月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* remove inplace argument * fix sample code * fix sample code
-
- 27 9月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
-
- 26 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 24 9月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* rename StaticLayer * rename
-
- 23 9月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
* init commit of new save/load * fix failed unittests * fix save_load_v2 unittest failed * fix failed unittest & polish doc * add tests for coverage * add more tests & move static apis * fix example code error * polish emample code * fix detail example code problem
-
由 Zhou Wei 提交于
* Makes the Bind Method more intelligent * Makes the Bind Method more intelligent * fix unittest * fix unittest * fix conflict
-
- 22 9月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* refine error mesg
-
- 17 9月, 2020 2 次提交
-
-
由 liym27 提交于
* Add env value to log to stdout; 2.Add logger name * Optimize log messages in dygraph-to-static * Replace logging.warn and warnings.warn with logging_utils.warn
-
由 Huihuang Zheng 提交于
Change ProgramTranslator.enable_declarative to ProgramTranslator.enable_to_static to meet API 2.0
-
- 16 9月, 2020 3 次提交
-
-
由 Leo Chen 提交于
* remove objgraph * remove graphviz * fix ut
-
由 Chen Weihang 提交于
* support load state_dict from save_params/persistables * remove failed unittest * add load eof check & unittest * remove eof check
-
由 Chen Weihang 提交于
* add input_spec & output_spec for translated_layer * update error message
-
- 14 9月, 2020 2 次提交
-
-
由 zhupengyang 提交于
-
由 Zhen Wang 提交于
Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. (#26240) * update amp_check_finite_and_scale_op for static_amp. * use amp_check_finite_and_scale in static graph amp. * update grads to zero when grads own infinite values(as for amp_checkout_finite_and_scale op). * add update_loss_scaling op in cpp. * add update_loss_scaling_op unit test. * update the doc of the check_finite_and_unscale op * Update the process of gradients updating skipping if the gradients have infinite values. * update the way to zero grads. * update test_update_loss_scaling_op.py * add log info when find infinite grads. * add the unit test for UpdateLossScaling Layer.
-
- 11 9月, 2020 5 次提交
-
-
由 Leo Chen 提交于
* temporally disable zero_copy * add test * follow comments
-
由 Chen Weihang 提交于
-
由 liym27 提交于
-
由 Chen Weihang 提交于
-
由 Aurelius84 提交于
* support to_static(model) * add warning and unittest
-
- 10 9月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
* add some unittest cases ot verify jit.save, no_test * add more unittests * add test with example inputs * polish implement details * remove useless blank * fix fetch random error
-
由 ShenLiang 提交于
-
- 09 9月, 2020 2 次提交
-
-
由 liym27 提交于
-
由 Aurelius84 提交于
* Add naming rule if not specific InputSpec.name * fix function name typo * refine comment * remove print statement
-
- 08 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 07 9月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
* change configs to config & update examples * fix deprecate decorator conflict
-
由 Aurelius84 提交于
* add descriptor cache * fix self arugments * deal case if instance is None * clean code * fix usage
-