- 10 11月, 2022 1 次提交
-
-
由 YuanRisheng 提交于
* standard api * fix sparse bugs * fix xpu bugs, test=kunlun * remove hard code for custom unittest * open ci, test=kunlun * deal with conflict
-
- 08 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U004] unecessary explicit `object` inheritance in class definition * fix an increment
-
- 03 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U008] remove unnecessary args in `super()` * remove remained args * revert changes in test_pylayer_op * Revert "revert changes in test_pylayer_op" This reverts commit ff185a9ae738afac3b0264f61bde6c6b7f72e7c4. * revert some changes in example code
-
- 01 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][E711] use `is`/`is not` for comparison with `None` * `self.assertTrue($A is None)` -> `self.assertIsNone($A)` * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)` * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)` * `self.assertEqual($A, None)` -> `self.assertIsNone($A)` * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
-
- 31 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* fix typo `Fasle`/`Flase` -> `Flase` * fix typo `Ture` -> `True`
-
- 25 10月, 2022 2 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2] remove `paddle.compat` * remove compat from `paddle.__init__` * enable_static in sample code * Revert "enable_static in sample code" This reverts commit ffccaa633900154ea5f3d056e746aae9a1927399. * enable_static in sample code
-
由 xiongkun 提交于
* fix bugs while cond receives dict as input * add unittest * change flatten -> _is_sequence_except_dict
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 19 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 18 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2] remove `compat` module (to_text) * remove some unnecessary decode * remove to_text definition and unittest * Revert "remove to_text definition and unittest" This reverts commit a6b69cb8dca8b9b031ce10ea32d1040e7e0dd267. * remove an assertion * empty commit
-
- 17 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2] remove `compat` module (to_bytes) * remove some unused imports * clean up to_bytes definition and unittests * Revert "clean up to_bytes definition and unittests" This reverts commit e726539e1768172a411ff60e63fab82f164343cf. * use `b` prefix instead of `encode()`
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 19 9月, 2022 1 次提交
-
-
由 feifei-111 提交于
[warning] added warning message in cond block when one branch returns variable and another returns None (#46031) * [cherry-pick] Allow manaully set py_reader name in standalone executor (#45898) (#45931) * Allow manaully set py_reader name in standalone executor
-
- 14 9月, 2022 2 次提交
-
-
由 Nyakku Shigure 提交于
* trim trailing whitespace * fix `.cmake-format.py` * revert npu ut changes, avoid npu ci error
-
由 xiongkun 提交于
* fix select_input with different shape errors: 1. select_input_with_buildin_type directly return non-undefinedvar branch when meeting undefined var 2. the output shape of select_input is inferred from inputs. * reverse the logic in select_input
-
- 03 9月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [ONXX]Remove cond_var from Input(X) in while_loop op * fix unittest
-
- 26 8月, 2022 2 次提交
-
-
由 wanghuancoder 提交于
-
由 xiongkun 提交于
* while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container * 1. make select_input output shape = input[1] 2. add warning in while_loop risky assign * fix 2 problem in GPT export: 1. a bug in while_op no_need_copy_var, which causes gpu memory leakage 2. a bug in undefined_var where the stop_gradient should be False. * change name by code review * format
-
- 25 8月, 2022 1 次提交
-
-
由 hong 提交于
* add python final state * fix bug * fix bugs * fix bug * fix bug * revert impl, final state mul not support selected rows * fix softmax use cudnn error * add softlable false unitest * revert loss.py
-
- 24 8月, 2022 1 次提交
-
-
由 xiongkun 提交于
* while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container
-
- 19 8月, 2022 1 次提交
-
-
由 xiongkun 提交于
* Make sure that the output of whilep must exist in the input * insert assign in block(0) * add unittest.
-
- 12 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* change NameVisitor to FunctionScopeAnalysis * polish the logic of undefined var in while_loop. create vars after body execution * replace old NameVisitor in while and fix all CI * Togather with CreateVariableTransformer * add create_variable_transformer * fix bugs * merge * fix some error, TODO: ForNodePreTransform ahead * merge for unite PR * fix conflict with base_transformer PR * fix ci errors, fix [for i in range()] error * fix according to code review
-
- 11 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* fix the doc of * fix the doc
-
- 06 7月, 2022 1 次提交
-
-
由 xiongkun 提交于
* add support for control flow block analysis * move FunctionNameLivenessAnalysis into utils * pass test_ifelse.py * remove duplicate data_layer_not_check * pass the test_ifelse.py * fix unittest error . * fix all ci error in first version * temporay disable CreateVariableTransformer * fix ci errors * fix function name liveness analysis bugs * modifty def cond * fix * fix ci error - v2 * fix by code review * change return_name_ids -> return_name
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 18 4月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* update * add conv yaml * add backward * remove useless code * fix bug * fix bug * revert fluid dygraph conv2d * remove useless infermeta function * fix meta fn deluplicat error * conv using custom impl * remove amp include * fix bug * use final op in maskrcnn and hrnet * refine Co-authored-by: Nphlrain <phliuhongyu@126.com>
-
- 01 4月, 2022 2 次提交
-
-
由 hong 提交于
-
由 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 1 次提交
-
-
由 Noel 提交于
Fix ops doc for some ops
-