- 29 9月, 2020 14 次提交
-
-
由 Chen Weihang 提交于
* polish BuildStrategy api doc & example * polish ExecutionStrategy api doc & example * polish details
-
由 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.
-
由 furnace 提交于
-
由 AshburnLee 提交于
* unique op for cuda is added * add support for cuda * Add cuda support for unique op. * Add support for int32_t and int64_t. * For old version, process by cpu * Add VisitDataType for thrust
-
由 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
-
由 wawltor 提交于
optimize the error meesage for detetion_map_op
-
由 whs 提交于
-
- 28 9月, 2020 26 次提交
-
-
由 Kaipeng Deng 提交于
* numpy -> paddle in conv. test=develop
-
由 whs 提交于
-
由 arlesniak 提交于
* Add support for mkldnn ops types selection with FLAGS in dygraph * use regex to match DNNL verbose * python3 encoding fix
-
由 YUNSHEN XIE 提交于
-
由 mapingshuo 提交于
-
由 Qinghe JING 提交于
* set default value to strategy in distributed_optimizer test=develop
-
由 Wilber 提交于
-
由 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
-
由 Yang Zhang 提交于
functionality provided by `normalize`
-
由 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
-
由 ysh329 提交于
* Fix clip_by_norm_op error message. test=develop * test=develop * test=develop
-
由 yaoxuefeng 提交于
-
由 myq406450149 提交于
* enhance array_to_lod_tensor_op lod_tensor_to_array_op errors information. test=develop
-
由 Zhang Ting 提交于
-
由 lilong12 提交于
-
由 xiemoyuan 提交于
* iCafe 9009: Optimize the error message of OP. * Optimize the error message of GatherTreeOP.
-
由 Zeyu Chen 提交于
Remove NLTK requirements to avoid dependency security alert from Github Dependabot
-
由 ShenLiang 提交于
* fix the speed&memory of matmul * fix the comment * fix the memory copy * fix the windows ci
-
由 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
-
由 tangwei12 提交于
* fix error * fix error * fix error * merge develop
-
由 wanghuancoder 提交于
* add paddle.fluid._cuda_synchronize, test=develop * fix bug about core_avx core_noavx, test=develop * delete CPUPlace and XPUPlace, test=develop
-