Commit Graph

166 Commits

Author SHA1 Message Date
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
i-robot 9d0d094437 !24554 support nested call of ms_function
Merge pull request !24554 from zhangzhaoju/ms_master_ms_function
2021-10-18 09:36:30 +00:00
zzb 95425b770d iml dict.items() and multiplication op 2021-10-18 12:47:22 +08:00
zhangzhaoju b4453709a2 Support parser decoratored functions
like nested calling of ms_function
2021-10-15 16:41:08 +08:00
huanghui 1af32f74f9 support None argument for the outermost net 2021-10-11 16:00:57 +08:00
i-robot bb038292d4 !23905 fix error log
Merge pull request !23905 from lianliguang/more-info-for-infer-error
2021-09-26 06:23:34 +00:00
lianliguang 7227b61979 modify info when infer error 2021-09-23 15:54:43 +08:00
huanghui 97250978c4 fix the debug info about the function decorated by @ms_functon 2021-09-23 14:43:02 +08:00
jiangshuqiang c2bd061889 fix summary isolation 2021-09-18 10:59:14 +08:00
i-robot bbdacd41f4 !20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
2021-09-15 01:25:46 +00:00
i-robot db19a40280 !23365 add print op security
Merge pull request !23365 from fangzehua/print_sec
2021-09-14 09:01:31 +00:00
i-robot c6a99428cd !23153 Update the operator in order to let users better understand the reason for the error of the operator part: nn_ops and array_ops
Merge pull request !23153 from dinglinhe/dlh_code_ms_I43QY0_nn_ops
2021-09-14 06:33:39 +00:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
dinglinhe 9a8c1b3c73 array_ops error recti and others 2021-09-14 09:12:02 +08:00
fangzehua 4ccc635a07 add print security 2021-09-13 17:45:36 +08:00
zhangzhaoju 4296881a16 syntax 2021-09-13 15:20:53 +08:00
Zhang Qinghua 7203989c26 Support fallback feature in Graph mode (1). 2021-09-06 16:00:03 +08:00
Zhang Qinghua a137fa1d0b Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
2021-08-28 17:36:12 +08:00
Zhang Qinghua aef396f9f2 Support ListComp and GeneratorExp in Graph Mode. 2021-08-06 11:44:57 +08:00
huanghui 3e17650172 Raise NotImplementedError when parsing the numpy methods, but not the numpy constant. 2021-08-03 14:33:22 +08:00
zhousiyi 9319eff958 change the error type from RuntimeError to TypeError 2021-07-22 06:38:12 +00:00