- 01 4月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [ControlFlow] Fix contrib API bug in while_loop * format code
-
- 31 3月, 2022 1 次提交
-
-
由 0x45f 提交于
-
- 26 3月, 2022 1 次提交
-
-
由 crystal 提交于
-
- 25 3月, 2022 1 次提交
-
-
由 Jiabin Yang 提交于
* refactor eager flags * fix flags error when we switch from eager to dygraph * fix ci problem * fix ci * fix ci * merge develop and fix code style * merge develop and fix code style * fix op test error * fix op test error * fix op test error * fix op test error * fix op test error * merge develop
-
- 13 12月, 2021 1 次提交
-
-
由 0x45f 提交于
* allow ifelse return `int` in paddle cond * add test and refine code * polish code, add test * code format
-
- 26 10月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Update `cond` English document
-
- 01 9月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Support append method and initialized value for List in ControlFlow * polish error msg and en doc * fix code style
-
- 19 7月, 2021 1 次提交
-
-
由 Chen Long 提交于
* update readme test=document_fix * update while loop docs test=document_fix
-
- 15 7月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* cache core.ops, test=develop * refine, test=develop
-
- 04 3月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Fix Read-Only Attribute as while_loop Output: Usually, our convert_while_loop will be like: ``` [a, b, c] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, c]) ``` where a, b, c are in loop_var_names. However, if loop_var_names contains property such as foo.x, we cannot assign the attribute as output of convert_while_loop because Python property is a kind of read-only attribute. To handle the case, we replace the attributes which are output of convert_while_loop with generated variables, then if we know the attribute is not read-only at runtime, we assign the attribute. The created statements are like: ``` [a, b, __attribute_variable_1] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, foo.x]) if not isinstance(getattr(type(foo), x, None), property): foo.x = __attribute_variable_1 ```
-
- 08 1月, 2021 1 次提交
-
-
由 liym27 提交于
In control flow, don't copy TensorArray from subblock to parent block when TensorArray is created in parent block.
-
- 04 1月, 2021 1 次提交
-
-
由 WangXi 提交于
-
- 26 11月, 2020 2 次提交
-
-
由 Noel 提交于
Fix ops doc for some ops
-
由 Chen Weihang 提交于
* add static_only for static api * addd static_only for class init * remove static_only for default_main_program * remove creater_parameter & startup_program * remove failed apis * revert py_func import * remove global scope * remove some api * remove cuda pinned place
-
- 24 11月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* upgrade comment string to raw string * fix string in * fix string with ' ' * revert update on comments * upgrade only necessary * fix sample code checker * fix comments with '''
-
- 16 10月, 2020 1 次提交
-
-
由 chentianyu03 提交于
-
- 14 10月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* modify cond while_loop to paddle.static.nn.cond * modify crop_tensor to paddle.crop * modify Variable to paddle.static.Variable * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional * remove apis in nn.functional.learn_rate.py * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional * remove apis in nn.functional.vision * remove erf, soft_relu in nn.functional.activation * remove apis in nn.functional.extension * remove nn.functional.rnn * remove hash from nn.functional.lod * remove row_conv from nn.functional.extension * remove one_hot, pad2d, pad_constant_like from nn.functional.common * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D * remove apis from optimizer.__init * remove tensor.creation.fill_constant * remove elementwise_mul in nn.functional.common and modify to paddle.multiply * remove tensor.stat.reduce_mean * remove reduce_all, reduce_any in tensor.logic * remove apis in tensor.math * remove apis in tensor.__init__ * remove has_inf, has_nan in tensor.search * remove apis in framework.__init__ * remove apis in paddle.__init__ * remove apis in nn.functional.__init__ * modify removed alias apis to raw api in doc and unittests * fix remove grid_sample bug * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * delete alias api relastions in doc * reserve paddle.compat, paddle.sysconfig * remove unittest for paddle.reduce_all, paddle.reduce_any * modify removed alias apis to raw api in doc and unittests * recover paddle.save and paddle.load * resolve conflicts * fix sample code missing paddle.enable_static() bug * fix sample code missing paddle.enable_static() bug * fix to_string sample code error
-
- 12 10月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
As the title
-
- 30 9月, 2020 1 次提交
-
-
由 Qi Li 提交于
-
- 29 9月, 2020 1 次提交
-
-
由 danleifeng 提交于
* fix is_empty api and code example; test=develop
-
- 27 9月, 2020 2 次提交
- 14 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 30 7月, 2020 1 次提交
-
-
由 wawltor 提交于
Update the code for the compare_ops, update the api and doc
-
- 19 5月, 2020 1 次提交
-
-
由 liym27 提交于
* Support to create LoDTensorArray in control flow (cond and while_loop) * Fix bug: return LoDTensorArray in while_loop * Change code in list_transformer.py to accommodate the new features.
-
- 14 5月, 2020 1 次提交
-
-
由 Cindy Cai 提交于
* test=develop, test=document_fix * test=develop, test=document_fix Co-authored-by: Nswtkiwi <1208425345@qq.com>
-
- 13 5月, 2020 1 次提交
-
-
由 danleifeng 提交于
fix check info for flatten hash is_empty op; test=develop
-
- 08 5月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
1. To make ProgramTranslator to support `assert` grammar, this PR adds `assert` python API and C++ code. 2. Fix a bug: graph_pattern_detector.h #include <gtest/gtest_prod.h> but didn't declared dependency at CMakeLists, which can cause single build failure. 3. Refactoring `Formatter` in print_op to make it reusable and reuse the formatter to print in assert op.
-
由 guofei 提交于
目前在while_loop的执行过程中,loop_vars中的变量在每次的循环中都会进行拷贝,但是LoDTensorArray类型的变量在while循环体中已经完成了读/写的操作,即完成了更新,此时在进行拷贝属于冗余的操作,故该PR跳过每次循环中loop_vars中LoDTensorArray类型的变量的复制过程。 在PaddleCV/ocr_recognition/atention模型的预测过程中进行性能测试: |性能|with this PR|without this PR|提升| |---|---|---|---| |速度|4957.4ms|4978.47ms|0.4%|
-
- 06 5月, 2020 1 次提交
-
-
由 liym27 提交于
* Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py * Add comments in ConditionalBlock. * Support list pop last item. * Support pop the i-th item. * Support an empty tensor array as Input in assign op and set the kernel type is float.
-
- 27 4月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add print transformer & unify print format, test=develop * remove using of dygraph_to_static_func, test=develop * remove python stdout capture, test=develop * fix compatibility problems for PY2, test=develop * fix detail error, test=develop * fix type analysis bug, test=develop * fix print tuple compatible error in PY2, test=develop * replace get_func to declarative, test=develop * fix detail bug, test=develop * fix some detail problems, test=develop * change visit_call in print transformer, test=develop
-
- 21 4月, 2020 1 次提交
-
-
由 myq406450149 提交于
* lod_rank_table error message enhance. test=develop
-
- 20 4月, 2020 1 次提交
-
-
由 gfwm0502 提交于
test=develop test=document_fix
-
- 18 4月, 2020 1 次提交
-
-
由 kinghuin 提交于
fix compare and logical ops cond/out parameter doc bug,correct the dtype message
-
- 17 4月, 2020 2 次提交
- 15 4月, 2020 1 次提交
-
-
由 gfwm0502 提交于
As the title.
-
- 14 4月, 2020 1 次提交
-
-
由 kinghuin 提交于
* optimize compare and logical ops error info * add out and cond dtype test
-
- 13 4月, 2020 1 次提交
-
-
由 myq406450149 提交于
* lod_tensor_to_array error message enhance. test=develop
-
- 12 4月, 2020 1 次提交
-
-
由 mamingjie-China 提交于
API(has_inf, has_nan, cumsum, fsp_matrix, increment) error message enhancement, test=develop (#23769) * API(argsort, argmax, argmin, cast, diag) add error message,and the same time add the test cases for those apis.
-