Commit Graph

186 Commits

Author SHA1 Message Date
huangbingjian f8d7ed29e0 Associate func_graph in CellList to manager 2022-07-30 09:59:36 +08:00
Zhang Qinghua f90dcc963d Support isolated side-effect nodes in constant returned func graph. 2022-07-27 10:12:24 +08:00
huanghui c293362075 fix outermost network inputs check log 2022-07-05 20:12:19 +08:00
lianliguang 59d9ecf81e ordered exception info when ops infer dtype error 2022-06-30 18:51:09 +08:00
Zhang Qinghua 9723d29e57 Support ops.make_tuple in PyNative mode.
Support create instance for GradOperation.
2022-06-24 16:20:06 +08:00
huanghui f9c502d4ca fix print all to fallback 2022-06-09 09:54:56 +08:00
i-robot 275ee3c637
!35459 Fix GradOperation descripition and support tuple/list for 'get_by_list'.
Merge pull request !35459 from 张清华/opt
2022-06-08 01:46:39 +00:00
Zhang Qinghua ce39353421 Fix GradOperation descripition and support tuple/list for 'get_by_list'. 2022-06-07 14:21:58 +08:00
huanghui b0daae6137 fix handle builtin func in while body 2022-06-07 09:14:15 +08:00
Zhang Qinghua a89b662b62 Change the weight parameter to FV parameter in FuncGraph, and add ST cases. 2022-05-31 14:27:15 +08:00
i-robot 2b4b921d83
!34957 fix bug of slice calculate error
Merge pull request !34957 from lianliguang/master
2022-05-30 06:54:52 +00:00
i-robot 852f89b757
!34710 fix bug of list convert
Merge pull request !34710 from lianliguang/supported-list-slice-assign
2022-05-30 06:43:55 +00:00
Zhang Qinghua 31ab2accae Add Parameter input test cases, remove side effect propagate for Identity op, and fix compile performance problem. 2022-05-28 21:03:42 +08:00
lianliguang 7819fab99c fix bug of calculate slice size 2022-05-28 14:10:59 +08:00
lianliguang ca7bbe7828 fix bug of tuple value is not convert all tuple 2022-05-28 12:32:13 +08:00
Zhang Qinghua 9e1d8627e5 Allow the Parameter object as a construct/ms_function parameter type. 2022-05-26 14:41:00 +08:00
lianliguang db6be8d1c8 fix bug of eliminate slice node 2022-05-24 17:40:54 +08:00
i-robot dd85238b91
!34579 set uni folder for ge test
Merge pull request !34579 from xiaoyao/master
2022-05-23 07:20:37 +00:00
xiao_yao1994 fbdfdb1127 "change default backend in debug graph mode and set uni folder for ge
test"
2022-05-20 09:12:03 +08:00
lianliguang 5699ef7b03 fix bug of list slice assign when step value is negative 2022-05-19 09:17:47 +08:00
liangzhibo 5cb03b22c1 change isinstance error to typeerror 2022-05-05 09:28:52 +08:00
huangbingjian d6485b82f6 Remove support for dataclass 2022-04-24 09:12:50 +08:00
Zhang Qinghua 329c4f23c8 Throw an exception if the side-effect op is ignored in the func graph who returned constant result. 2022-04-21 14:24:15 +08:00
i-robot 14a8b1d18e
!32984 support list slice
Merge pull request !32984 from lianliguang/supported-list-slice-assign
2022-04-20 07:30:10 +00:00
lianliguang 11b4836040 support list slice assign 2022-04-20 09:32:05 +08:00
liangzhibo 8f2bf65f80 Graph isinstance extends 2022-04-19 10:49:09 +08:00
huanghui c222f7d226 support asert 2022-03-30 14:54:38 +08:00
Margaret_wangrui 6d10adc9c5 [ME]Support raise in constant scenarios. 2022-03-22 19:33:47 +08:00
He Wei 51c147ab12 Convert AbstractList to AbstractTuple recursively 2022-03-16 09:59:27 +08:00
xiao_yao1994 94df0869ad uni_backend: add ut ge test 2022-03-10 16:08:36 +08:00
Zhang Qinghua 973008ebcf Change the Parameter type name from 'ParameterTensor' to 'Parameter' 2022-03-08 11:23:56 +08:00
zhangzhaoju e000889265 Fix issue I4KVTZ
The description of "outmost network" in error message instead by
method/function name
2022-02-21 19:52:53 +08:00
lianliguang 49608835c1 support list slice 2022-02-17 09:47:26 +08:00
zhoufeng 8e97ce5cd2 build core.so
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2022-01-29 14:11:02 +08:00
i-robot c5b650069f
!28662 Add input type check for instance Create in Cell.construct
Merge pull request !28662 from zhangzhaoju/master
2022-01-12 09:46:29 +00:00
zhangzhaoju a54d1f33e7 Add input type check for instance Create in Cell.construct
Adjust the order of resource release sequence

Save executor_info to cache after compile avoiding inconsistent between
python cache and c++ cache

Clean entire_costgraph at ClearResAtExit to avoid coredump.
2022-01-11 10:17:39 +08:00
simson 0191832a1d fix greater op infervalue 2022-01-11 09:21:48 +08:00
zhousiyi 19e9571149 rename env_getitem/setitem to EnvironGet/EnvironGet 2022-01-04 02:17:30 +00:00
zheng_pengfei 09b5e545dd [feat] [assistant] [I48OBC] add new LogicalNot 2021-12-23 20:39:17 +08:00
i-robot 3121a317ec !27775 Fix Slice node's location incorrect
Merge pull request !27775 from huanghui/fix-Slice-no-location
2021-12-17 06:35:26 +00:00
Zhang Qinghua ea8c47e981 Support variable index of getitem during handling cell list getattr. 2021-12-16 20:35:45 +08:00
huanghui d549ec5af5 fix Slice cannot get location 2021-12-16 17:19:20 +08:00
Zhang Qinghua 3e7b73e6c7 Support getattr by the item of cell list: Handle the DoSignaturePrimitive('getitem') between getattr and resolve. 2021-12-14 09:06:34 +08:00
i-robot d1e4e674ab !26690 Add supoort resolving outer lambda function for ops.Partial.
Merge pull request !26690 from hezhenhao1/add_lambda
2021-11-26 09:21:34 +00:00
hezhenhao1 4af312d17e Add supoort resolving outer lambda function for ops.Partial. 2021-11-26 15:05:50 +08:00
Margaret_wangrui 922678edef Revert "Add the check of function return None."
This reverts commit f9a384456a.
2021-11-25 21:18:24 +08:00
Margaret_wangrui f9a384456a Add the check of function return None. 2021-11-24 15:30:35 +08:00
Zhang Qinghua e8b421fe6e Enable JIT Fallback in default. 2021-10-28 20:18:06 +08:00
Zhang Qinghua 6a79e262ae Support ops, nn and numpy namespaces, and add test case. 2021-10-22 16:31:30 +08:00
i-robot e3d8edc530 !24475 Implement the dict.items() interface and the multiplication operation of numbers and lists or tuples
Merge pull request !24475 from 翟之博/master
2021-10-18 11:39:27 +00:00