- 03 4月, 2023 1 次提交
-
-
由 Xiaoxu Chen 提交于
* [prim] promote gelu precision threshold
-
- 28 3月, 2023 3 次提交
-
-
由 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.
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
由 Infinity_lee 提交于
-
- 25 3月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 21 3月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* add public_python_api in prim test * fix test_squeeze2_op
-
- 20 3月, 2023 1 次提交
-
-
由 Ainavo 提交于
* remove super call with parameters * fix bug
-
- 14 3月, 2023 1 次提交
-
-
由 cxxly 提交于
-
- 10 3月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support variable parameter in optest * add error msg for use tensor attr in static code gen * fix static code gen * fix prim op test * modify comment * fix op test * fix ci * remove code
-
- 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 提交于
-
- 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
-
- 02 3月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
* fix attrs copy error * fix bert by fix slice error * fix op test
-
- 28 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
-
- 27 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
-