Commit Graph

210 Commits

Author SHA1 Message Date
huangbingjian 00040c4ca9 Raise an error when returning functions in output. 2022-11-03 14:44:25 +08:00
huangbingjian c17a7ffbbd Replace ms_function with jit 2022-10-29 11:32:53 +08:00
i-robot 039fb25a4a
!43827 Raise an error when a DeadNode is returned as output.
Merge pull request !43827 from huangbingjian/return_deadnode
2022-10-24 08:01:35 +00:00
huangbingjian b2b1096cbd Raise an error when a DeadNode is returned. 2022-10-21 14:43:04 +08:00
huangbingjian b98fc0021a Add api mindspore.jit and mindspore.jit_class.
1、ms_function will be removed in a future version and replaced with jit.
2、ms_class will be removed in a future version and replaced with
jit_class.
2022-10-21 10:17:44 +08:00
Zhang Qinghua c4aa3c0de1 Add no_recursive flag for skipping recursive checking, and use no_recursive to disable MS_CTX_MAX_CALL_DEPTH. 2022-10-20 16:57:26 +08:00
i-robot 1b82179635
!43651 报错不合理整改,增加测试用例
Merge pull request !43651 from ligan/cell
2022-10-17 10:01:06 +00:00
ligan 29b9607d23 cell 2022-10-17 09:48:24 +08:00
chujinjin 3711a83f76 change default mode to pynative 2022-10-13 19:48:38 +08:00
i-robot dbc9bddf35
!43406 Adjust the location of syntax testcases
Merge pull request !43406 from huangbingjian/adjust_syntax_testcases
2022-10-13 02:51:52 +00:00
Margaret_wangrui dd2c45a829 Add the check of the return value of Assign, AssignAdd, AssignSub. 2022-10-11 15:50:47 +08:00
huangbingjian 780900ae5f Adjust the location of syntax testcases 2022-10-11 11:27:01 +08:00
zhouxulin2 653453169c adapt code of shift operator for windows 2022-09-14 15:23:37 +08:00
i-robot 972d09bcfd
!41304 Adjust debug info.
Merge pull request !41304 from 张清华/debug
2022-09-06 01:06:40 +00:00
Zhang Qinghua 6ba39e822a Adjust debug information. 2022-09-05 14:40:38 +08:00
zhouxulin2 04de449be0 support operator bitwise_xor, left_shift and right_shift for graph mode 2022-09-01 12:43:29 +08:00
liangzhibo ee7e869106 fix hasattr problem 2022-08-27 14:17:54 +08:00
huangbingjian 57d58163a8 Support string operation in graph mode. 2022-08-18 09:57:30 +08:00
i-robot 9700b04c42
!39573 support operator "&" and "|" for scalar and tensor
Merge pull request !39573 from zhouxulin2/bitwise
2022-08-16 11:48:03 +00:00
i-robot dd5047718e
!40106 Enable graph hasattr, getattr
Merge pull request !40106 from LiangZhibo/ms_attr
2022-08-16 02:03:48 +00:00
zhouxulin2 8912516885 support operator & and | 2022-08-15 11:47:49 +08:00
liangzhibo 88bc967cdd support graph hasattr and getattr 2022-08-12 17:48:51 +08:00
Margaret_wangrui ff0de42ea4 Support with as statement. 2022-08-11 14:10:12 +08:00
He Wei 10d866e953 Fix auto monad to support high order cnode 2022-07-30 20:15:00 +08:00
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