- 29 9月, 2020 12 次提交
-
-
由 Chen Weihang 提交于
* remove data parallel scale loss & apply collective_grads * move apply in minimize * fix failed unittests
-
由 yukavio 提交于
-
由 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
-
由 MRXLT 提交于
-
由 Shang Zhizhou 提交于
* add paddle.enable_static() to some testcase * add seed to random in test_activation_op * update a randomseed * update a randomseed
-
由 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.
-
由 lilong12 提交于
* add gloo initializer, test=develop
-
由 Huihuang Zheng 提交于
We decreased the batch size on CPU so that it can run correctly on Win/Mac machine, this may cause the delta to be larger. So I set larger delta value.
-
由 danleifeng 提交于
* fix is_empty api and code example; test=develop
-
由 LiuChiachi 提交于
* add transformer generate square subsequent mask api * add dtype for input, update doc, use -np.inf * add dtype for input, update doc, use -np.inf
-
- 28 9月, 2020 24 次提交
-
-
由 whs 提交于
-
由 arlesniak 提交于
* Add support for mkldnn ops types selection with FLAGS in dygraph * use regex to match DNNL verbose * python3 encoding fix
-
由 YUNSHEN XIE 提交于
-
由 Qinghe JING 提交于
* set default value to strategy in distributed_optimizer test=develop
-
由 cc 提交于
* Change docs of WeightNormParamAttr to dygraph model, test=develop, test=document_fix
-
由 Leo Chen 提交于
* remove inplace argument * fix sample code * fix sample code
-
由 Leo Chen 提交于
* support not passing block * fix NumpyArrayInitializer * add unit test
-
由 Feiyu Chan 提交于
1. fix a bug that paddle.nn.RNN does not initialize the state for the cell correctly; 2. add unittest for paddle.nn.RNN and paddle.nn.BiRNN
-
由 Li Fuchen 提交于
* modified sample code of add_position_encoding to 2.0, test=document_fix * use core.op in add_position_encoding API. * add test for add_position_encoding in dygraph mode
-
由 Zhang Ting 提交于
* modify doc
-
由 yaoxuefeng 提交于
-
由 Zhang Ting 提交于
-
由 lilong12 提交于
-
由 Pei Yang 提交于
* add unittests and op version register for tensorrt_subgraph_pass * rename to test_trt_subgraph_pass.py * fix softmax converter diff when padding dim=1
-
由 123malin 提交于
* test=develop, rm netifaces
-
由 wanghuancoder 提交于
* add paddle.fluid._cuda_synchronize, test=develop * fix bug about core_avx core_noavx, test=develop * delete CPUPlace and XPUPlace, test=develop
-
由 Li Fuchen 提交于
-
由 liym27 提交于
* Support assignment to a Variable in dynamic mode. Note: not deal with backward. * Rewrite VarBase __setitem__ for high-performance. * try to test 3 means to do __setitem__ and test the performance of 3 means. * Retain the means of the highest performance: C++ code and don't trace op.
-
由 lilong12 提交于
* add gloo initializer, test=develop
-
由 Tao Luo 提交于
* update name_scope example code test=document_fix * refine name_scope doc test=document_fix
-
由 littletomatodonkey 提交于
* fix example code * rename var to tensor * remove static * fix return type
-
由 Aurelius84 提交于
* modify sample code * variable -> tensor * migrate program_guard sample code * refine error message * migrate program_guard * refine comment style * fix indent
-
由 Dong Daxiang 提交于
* add get final strategy for user to print final strategy
-
由 furnace 提交于
-
- 27 9月, 2020 4 次提交
-
-
由 YUNSHEN XIE 提交于
-
由 Li Fuchen 提交于
* add float64 input to ctc_loss * modified error message of warpctc * update repo and tag of warpctc * add test for warpctc with float64 input * modified warpctc.cmake to make sure build always * resolved sample code bug of warpctc * add core.ops in warpctc dygraph * fix a bug of test
-
由 liym27 提交于
* Fix example code of api `fluid.layers.switch_case` to use api2.0 * delete `paddle.nn.switch_case` alias and add `paddle.static.nn.switch_case`
-
由 Zhou Wei 提交于
-