Commit Graph

43 Commits

Author SHA1 Message Date
Margaret_wangrui dcda778f8a [ME][Fallback][Control_flow] Ensure the information of the Interpret node is transmitted normally when function block jumps. 2022-04-06 09:27:55 +08:00
i-robot a15f682803
!31603 support str.format
Merge pull request !31603 from lianliguang/supported-str-format
2022-03-28 01:33:58 +00:00
lianliguang 6304c2ef3d support str.format 2022-03-26 14:53:06 +08:00
lianliguang 424c16d116 fix abs(tensor) when tesnor data is a 0-dim number 2022-03-26 14:20:03 +08:00
lianliguang 3d7c56c4cc fix isolate node bug when using fallback interpret node 2022-03-25 16:41:16 +08:00
huangbingjian a62484c5ad Added recognition of third-party libraries 2022-03-21 14:10:23 +08:00
i-robot 603ff25afb
!31177 Add ut for fallback python buildin function with tensor input
Merge pull request !31177 from LiangZhibo/syntax
2022-03-11 08:38:53 +00:00
liangzhibo a3f183bdad Add test case for fallback buildin function with constant tensor 2022-03-11 15:35:29 +08:00
huangbingjian 4f7c9cb27f Support user-defined classes through ms_class decorators. 2022-03-10 20:12:54 +08:00
lianliguang d9390afad1 convert MS C++ dtype to MS python 2022-03-10 16:09:34 +08:00
lianliguang f3b1e3291c add jit fallback example 2022-03-09 11:25:03 +08:00
liangzhibo 1a81031d92 Add testcases for fallback python buildin function 2022-03-07 14:20:24 +08:00
huangbingjian a69d13bc44 [Fallback] Suppport scipy module. 2022-02-25 10:13:43 +08:00
huangbingjian c36a85e00d clean code 2022-01-22 11:39:12 +08:00
huangbingjian 45e8b52f6e [Fallback] Do not interpret constant from third-partiy library. 2022-01-06 09:42:54 +08:00
huangbingjian 58bafb539a [Fallback] Support self attr/method. 2021-12-31 10:57:41 +08:00
huangbingjian fea6974c80 Support numpy augassign method, subscript method and binary operations. 2021-12-21 15:58:20 +08:00
huangbingjian db4567989a fallback parse Tensor, different from NumPy. 2021-12-14 12:59:47 +08:00
i-robot efa63b78c0 !27600 [ME][Fallback] Add tensor testcase.
Merge pull request !27600 from Margaret_wangrui/fallback_tensor
2021-12-13 13:33:41 +00:00
Margaret_wangrui dafe31e2cd [ME][Fallback] Add tensor testcase. 2021-12-13 17:13:24 +08:00
Margaret_wangrui 751763dcef [ME][Fallback] Add array property test cases 2021-12-13 10:17:35 +08:00
huangbingjian 038cbe43de add tesecases of Tensor 2021-12-11 10:14:41 +08:00
Margaret_wangrui 2779760409 [ME][Fallback] Add tensor testcase 2021-12-10 14:53:27 +08:00
Zhang Qinghua 135db97692 Handle the interpreted node for binary ops.
Refactoring specialize.
Adjust ir/dat/dot order.
Optimize DumpIR FV routine.
2021-12-09 11:33:45 +08:00
i-robot d723cc417d !27151 [ME][Fallback] [ME][Fallback] Support built-in type: complex and reversed.
Merge pull request !27151 from Margaret_wangrui/fallback
2021-12-07 01:04:14 +00:00
Margaret_wangrui 6e5d625153 [ME][Fallback] Support built-in type: complex and reversed. 2021-12-06 21:15:30 +08:00
Margaret_wangrui fa8506c0a7 [ME][Fallback] Handle interpret nodes in list. 2021-12-06 16:58:21 +08:00
Margaret_wangrui f7fc7f4238 [ME][Fallback] Handle interpret nodes in tuple 2021-12-02 15:36:54 +08:00
Margaret_wangrui ee1b4d4e6d [ME][Fallback] Review the local dict and try to eval out the interpret node 2021-12-01 10:02:26 +08:00
Margaret_wangrui 16ac3638d3 [ME][Fallback] Add some fallback numpy test cases 2021-11-24 11:20:06 +08:00
Margaret_wangrui c6582b9390 [Fallback] Add some fallback numpy test cases 2021-11-18 10:18:13 +08:00
huangbingjian d0ca18b921 Add global Py param when processing global namespace info. 2021-11-09 09:34:30 +08:00
i-robot 45882752ba !25644 [Fallback] Support builtin type
Merge pull request !25644 from huangbingjian/fallback_set
2021-10-30 10:01:52 +00:00
i-robot f16ed11237 !25651 Add some fallback testcases
Merge pull request !25651 from Margaret_wangrui/fallback_tests
2021-10-30 09:21:46 +00:00
huangbingjian 5063ee55bc [Fallback] Support builtin type: set, dict, slice, bool, int, float, str 2021-10-30 14:54:59 +08:00
Margaret_wangrui 6275cdcf7a add fallback testcases 2021-10-29 12:02:16 +08:00
huangbingjian 02f72ab3ae [Fallback] Added test cases for python built-in functions 2021-10-29 09:33:16 +08:00
Zhang Qinghua e8b421fe6e Enable JIT Fallback in default. 2021-10-28 20:18:06 +08:00
Margaret_wangrui 7738f55f44 Add some fallback testcases 2021-10-28 09:15:24 +08:00
Zhang Qinghua 6a79e262ae Support ops, nn and numpy namespaces, and add test case. 2021-10-22 16:31:30 +08:00
Zhang Qinghua 9fbd118319 Handle interpreted node as input, set function Parameters and update local params if need. 2021-09-18 17:34:50 +08:00
Zhang Qinghua bcfb274074 [Fallback] Fix previous block parameters problem, and add test cases. 2021-09-10 16:43:46 +08:00
Zhang Qinghua 6edea0ed3c Add supported namespace for fallback. 2021-09-07 16:19:25 +08:00