- 29 11月, 2022 2 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean]Migrate if/while/return/break transformer into paddle.jit * migrate call_transformer * migrate call_transformer
-
由 201716010711 提交于
-
- 28 11月, 2022 2 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean] Migrate program_translate.py/jit.py into paddle.jit dir
-
由 201716010711 提交于
-
- 25 11月, 2022 1 次提交
-
-
由 201716010711 提交于
-
- 22 11月, 2022 3 次提交
-
-
由 201716010711 提交于
-
由 Nyakku Shigure 提交于
[CodeStyle][py2][py311] replace deprecated `inspect.getargspec` with `inspect.getfullargspec` (#48218) * [CodeStyle][py2] use inspect.getfullargspect instead of deprecated inspect.getargspec * refactor to f-string
-
由 Nyakku Shigure 提交于
[CodeStyle][py36-][E722] remove import handling for collections.abc in different python versions (#48165)
-
- 20 11月, 2022 1 次提交
-
-
由 ccrrong 提交于
* remove range
-
- 08 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U004] unecessary explicit `object` inheritance in class definition * fix an increment
-
- 03 11月, 2022 2 次提交
-
-
由 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
-
由 Aurelius84 提交于
* Add six for @to_static and add CI approval * add six * refine logic * delete approve * fix return * add ImportError * typo `moduels` -> `modules` Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
-
- 01 11月, 2022 2 次提交
-
-
由 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)`
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2] remove `six` package (part2) * six.ensure_str * remove unused `import six` * remove six from BUILTIN_LIKELY_MODULES * remove six in example code * remove some decode * try to fix example code * fix MockEtcdClient get/get_prefix returns data type * fix MockEtcdClient get_prefix returns data * fix MockEtcdClient get returns data * remove `six` in pypi and conda requirements * fix MockEtcdClient add_watch_callback/add_watch_prefix_callback returns data type * refine MockEtcdClient
-
- 31 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* fix typo `Fasle`/`Flase` -> `Flase` * fix typo `Ture` -> `True`
-
- 25 10月, 2022 1 次提交
-
-
由 Aurelius84 提交于
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 20 10月, 2022 1 次提交
-
-
由 xiongkun 提交于
-
- 19 10月, 2022 4 次提交
-
-
由 Nyakku Shigure 提交于
-
由 xiongkun 提交于
* Add TypeHint Transformer * add unittest for typehint transformer
-
由 xiongkun 提交于
* [Dy2Static] Remove GradTransformer 1. fix einsum infershape bugs. 2. remove grad_transformer and unify paddle.grad and paddle.static.gradient. 3. add dygraph_and_dy2static_only decorator for dy2static. * fix bugs * rename
-
由 Aurelius84 提交于
* [Dy2Stat]Polish @to_static temporary file directory * [Dy2Stat]Polish @to_static temporary file directory * refine temp.name * fix typo * fix typo
-
- 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()`
-
- 12 10月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
* [Zero-Dim] support input 0D Tensor for unary api * fix CI
-
- 11 10月, 2022 1 次提交
-
-
由 Aurelius84 提交于
-
- 10 10月, 2022 1 次提交
-
-
由 Aurelius84 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 22 9月, 2022 1 次提交
-
-
由 feifei-111 提交于
* add numpy api err msg * fix bug * fix unittest * add set_state_dict err * rewrite numpy_api_check * add define * change err msg * fix test * move import statement
-
- 21 9月, 2022 2 次提交
-
-
由 feifei-111 提交于
* use re replace judge by case * simplify re
-
由 xiongkun 提交于
-
- 19 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
* 1. refactor the return transformer. 2. fix some bugs in return transformer. * support raise error while return stmt's father is For or while * fix ci error. * fix ci error and add some unittest * code format * fix ci error
-
- 17 9月, 2022 1 次提交
-
-
由 feifei-111 提交于
[BugFix] fixed a bug in decorator transformer, it can not analyze decorator with params correctly (#46055) * fix deco call * add raise * add test * add warn, fix paddle api * fix error type * fix coverage
-
- 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
-
- 13 9月, 2022 1 次提交
-
-
由 feifei-111 提交于
* support deco * fix deco ast type * arg_str * 1 * support callable deco * code style * codestyle * test_error * fix decos in another file * recover conflict codes
-
- 09 9月, 2022 2 次提交
-
-
由 zhangbo9674 提交于
* add scope cache & reuse * add gc scope for end of each train step * del scope reuse for jit * refine code * test
-
由 xiongkun 提交于
* convert_call support staticmethod for class. * while support for python container. It is convenient to convert more dynamic graph codes into static graphs. * cond support python container * add unittest for staticmethod convert_call * fix bugs * add unittest for item interface * fix bugs * change to np.testing.assert_allclose * code format * fix comments. * code format
-
- 08 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
* 1. fix non-local error while dealing push_pop names 2. escape "'" in push_pop_names to avoid syntax errors. 3. unified the non-local stmt creation processes in getter and setter. 4. split the nonlocal_names and getter/setter names. * fix bugs * 1. revert setter and getter, push_pop_names must have non-local * fix bugs. * code format
-
- 06 9月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Filter UserWarings while @to_static * only filter DeprecationWarning * fix unittest
-
- 02 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
* 1. make list transformer into jit form. 2. fix some bugs in tensor_array, such as append. 3. enhance the function analysis visitor to recognize push/pop. 4. add setter/getter helper to deal with 2+ name sets. * fix ci errors: 1. add to_tensor_array logic in convert_cond 2. fix IfExpr error. 3. fix erros while return_names or push_pop_names is None 4. fix slice error in a[i]=1 where a is tensor_array 5. add pop interface in Variable
-