- 30 3月, 2023 1 次提交
-
-
由 Weilong Wu 提交于
* support layer_norm prim and cinn test * enable cinn test * fix merge conflict * polish input for check_output_with_place * fix merge conflict * add more test case * fix merge conflict * polish test case * polish op_test * change ln_g rules * modify scale is none case * modify scale is none case * add public_python_api for check prim * modify setoutputgrad and fp64bug * add todo & delete log * recover * fix some errors * recover * recover * recover * recover * fix merge conflicts --------- Co-authored-by: Nwangruting <wangruting@baidu.com>
-
- 28 3月, 2023 2 次提交
-
-
由 Feiyu Chan 提交于
Add basic functionalities to support Scalar & Scalars in operator attribute. 1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types; 2. Scalar enhancement, add formatting, equality; 3. add code to handle Scalar & Scalars in opmaker, conversion from paddle operator to phi kernel, opdesc construction and manipulation, tensorrt converter, tracer, operator construction, etc; 4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`; 5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto); 6. add code to manipulate Scalar proto message via protobuffer python API; Add unittests. 1. add test cases for formatting, equality for Scalars, and WrapAsScalars; 2. add test cases for 'casting' between different morphs of attributes; 3. add test cases for extracting scalar & scalars from attribute; 4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset); 5. fix gmock's library filename on windows platform. 6. clean code: use canonicalize_attrs instead of inlining the function; 7. add test cases for libpaddle.Scalar in python code. 8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
-
由 gouzil 提交于
* [CodeStyle][B020] rename for * [CodeStyle][B020] rename for
-
- 25 3月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 23 3月, 2023 2 次提交
-
-
由 wanghuancoder 提交于
* delete old dygraph xpu op test
-
由 PuQing 提交于
[CodeStyle][C408][C409][C410] Fix unnecessary <dict/list/tuple> call and unnecessary <list/tuple> passed to <list/tupule>() (#51928) * autofix * add select config * autofix C410 * add C410 select
-
- 22 3月, 2023 2 次提交
-
-
由 Zhang Zheng 提交于
-
由 Zhang Zheng 提交于
-
- 20 3月, 2023 1 次提交
-
-
由 Vvsmile 提交于
-
- 17 3月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 16 3月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
- 14 3月, 2023 1 次提交
-
-
由 Vvsmile 提交于
-
- 12 3月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
- 10 3月, 2023 1 次提交
-
-
由 Zhang Zheng 提交于
* [AMP OP&Test] Modify the logic of comparing grad in bfloat16
-
- 09 3月, 2023 2 次提交
-
-
由 zqw_1997 提交于
* move fluid.utils to paddle.utils.layers_utils * fix error * delete original fluid layers utils * remove import and old utils * remove more old utils import * change import path of fill_constant in the layers_utils.py * fix mistake * fix error * expose in __init__.py * for comment * when change the ref of func is_sequence, it should change to the root of is_sequence instead * for codecheck
-
由 Charles-hit 提交于
-
- 08 3月, 2023 2 次提交
-
-
由 Weilong Wu 提交于
* support transpose test on prim and cinn * fix transpose logic and polish eager_op_test
-
由 kangguangli 提交于
-
- 07 3月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support elementwise_pow bfloat16 * add only_check_prim parameters in check_grad * modify unit test * fix floor test * fix sigmoid bfloat16 test
-
- 28 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
-
- 23 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
-
- 21 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support prim test in OpTest * fix cmake * fix op test * fix test_input_spec * disable cinn in reduce_sum unit test * add bfloat16 dtype for sum * polish code * add clear jit program function * convert grad out from tensor to numpy * remove unnecessary code * add only_prim flag * fix flag * fix op test * fix optest comp inplace error * fix op test * fix op test with guard * add initialization of check_comp flag * fix comp inplace error in op test * rename check_comp with check_prim and add bfloat16 dtype convert * rename comp_op_type to prim_op_type * rename comp to prim * remove useless code * skip ci check for only prim * add no_grad_vars and grad_outputs in prim test * fix var_dict * fix op test for only_prim * fix dy2static bugs * polish some code
-
- 28 1月, 2023 1 次提交
-
-
由 姜永久 提交于
* update tril unbind ops for eager tests * add eager op test * reset unbind * lint * lint * rm eager checker * copyright 2018->2023
-
- 30 12月, 2022 1 次提交
-
-
由 姜永久 提交于
* rm legacy * clear in_legacy * fix tracer
-
- 01 12月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean]Migrate utils files and delete dygraph_to_static dir * fix setup.py.in * fix import * fix unittest * fix code style * fix unittest
-
- 25 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* add isort config * isort all files
-
- 08 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U004] unecessary explicit `object` inheritance in class definition * fix an increment
-
- 01 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True` * revert changes in fluid * revert unrelated file * revert changes in norm * revert changes in auto_parallel_amp * fix norm and auto_parallel_amp * revert a typo fix due to fixed at #47477
-
- 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 提交于
-
- 12 10月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
* [Zero-Dim] support input 0D Tensor for unary api * fix CI
-
- 11 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 14 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* trim trailing whitespace * fix `.cmake-format.py` * revert npu ut changes, avoid npu ci error
-
- 17 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988) * autofix * try resolve precision issues * revert some changes * clean some `err_msg` * 0.0001 -> 1e-4 * update commented assert code * try to fix some shape errors * `numpy` -> `np` * empty commit, trigger kunlun ci, test=kunlun * empty commit, retrigger kunlun ci, test=kunlun * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun * try fix npu import error, test=kunlun
-
- 12 8月, 2022 1 次提交
-
-
由 HongyuJia 提交于
* support optional<vector<Tensor>> in yaml and eager * delete useless comments in eager_gen.py * fix api_base.py support optional<vector<TTensor>> * python_c_gen.py support optional<vector<tensor>> * transfer linear_interp_v2 yaml from fluid to phi * fix op_test typo error * change linear_interp_v2 testcase * fix args in final_state_linear_interp_v2 * fix zeropad2d typo. test=document_fix
-
- 10 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947) * automatically fix * update comments * numpy -> np * self.assertEqual(..., True) * wrong usage (err_msg=True) 这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)` 的错误用法,因此在修复后将其认为位置参数 `err_msg` * some missing fix
-
- 04 8月, 2022 1 次提交
-
-
由 zhiboniu 提交于
* phi_fill_diagonal_tensor * delete extra lines * update * add legacy api test * rename sig
-
- 03 8月, 2022 1 次提交
-
-
由 zhiboniu 提交于
* add cmake enforce * transfer multiclass_nms3 to phi
-
- 01 8月, 2022 1 次提交
-
-
由 zhiboniu 提交于
-