- 29 9月, 2020 11 次提交
-
-
由 Pei Yang 提交于
-
由 Chen Weihang 提交于
* remove data parallel scale loss & apply collective_grads * move apply in minimize * fix failed unittests
-
由 yukavio 提交于
-
由 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
-
由 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 16 次提交
-
-
由 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
-
由 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
-
由 yaoxuefeng 提交于
-
由 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
-
由 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
-
由 Dong Daxiang 提交于
* add get final strategy for user to print final strategy
-
由 furnace 提交于
-
- 27 9月, 2020 10 次提交
-
-
由 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
-
由 Zhou Wei 提交于
-
由 QingshuChen 提交于
* support elementwise add, activation, matmul on Baidu Kunlun * test=kunlun * minor * test=kunlun * reconstuct the xpu directory * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun * minor * test=kunlun
-
由 Jack Zhou 提交于
register log double grad kernel for cpu and cuda
-
由 Zhou Wei 提交于
-
由 Chengmo 提交于
* fix test_dist_fleet_heter_ctr & peformance update
-
由 Double_V 提交于
-
由 Double_V 提交于
* fix pool bug, test=develop * fix coverage,test=develop * fix bug, test=develop
-
由 gongweibao 提交于
-
- 26 9月, 2020 1 次提交
-
-
由 joanna.wozna.intel 提交于
-
- 25 9月, 2020 2 次提交