Commit Graph

59 Commits

Author SHA1 Message Date
Wei Luning a05c38bb63 make python Parameter inherit from Tensor 2020-08-03 09:12:24 +08:00
jinyaohui 39c251c015 fix bug of cast dtype when using mix_presion in pynative mode 2020-07-31 16:13:46 +08:00
kingfo fab9fac109 fix batchnorm under mix precision in pynative mode 2020-07-29 11:27:18 +08:00
buxue 8feb021c08 support bprop for const in pynative and develop stridedslice and isinstance. 2020-07-28 11:07:51 +08:00
kingfo 73ea9b7855 fix mix precesion operator issue 2020-07-25 09:40:50 +08:00
buxue b812c1a17a support call super when class define in test_case. 2020-07-23 18:30:30 +08:00
mindspore-ci-bot 684ff4f46b !3160 Rewrite tensor's __bool__ for pynative mode
Merge pull request !3160 from Simson/push-to-opensource
2020-07-23 16:55:49 +08:00
simson 5f77fbdd75 Rewrite tensor's __bool__ for pynative mode 2020-07-23 16:51:46 +08:00
mindspore-ci-bot 8da91ca3cf !3237 support call the parent class function
Merge pull request !3237 from zhangbuxue/support_call_the_parent_class_construct_function
2020-07-21 22:13:04 +08:00
buxue 073507a5e0 support call the parent class function 2020-07-21 16:38:11 +08:00
yanghaoran 859acc6d2a synchronize latest Ascend software suite 18 Jul 2020, and merging branches 2020-07-18 21:09:55 +08:00
panyifeng 5a10383cc3 add coo_tensor 2020-07-17 18:53:03 +08:00
changzherui f4cb445ea8 syn code for 0715 2020-07-16 17:18:21 +08:00
buxue 60b0ded440 change ValueError to TypeError for enumerate start 2020-07-15 10:39:03 +08:00
buxue cf797d3bf2 add arg check for enumerate 2020-07-10 16:58:38 +08:00
yanghaoran 9ce5c97204 synchronize Ascend software suite 07 Jul 2020 2020-07-08 21:49:09 +08:00
mindspore-ci-bot dab7ad44ab !2901 Optimization for parser
Merge pull request !2901 from Kang/master
2020-07-07 14:56:16 +08:00
wuyongkang 6618a42bf1 Optimization for parser 2020-07-07 14:44:34 +08:00
buxue cfa41733d6 support Python built-in function 'enumerate' 2020-07-03 14:42:10 +08:00
mindspore-ci-bot db94c5fb0f !2786 Optimization for ast_cache
Merge pull request !2786 from Kang/optimization
2020-07-01 16:44:03 +08:00
wuyongkang f797d17a6e Optimization for ast_cache 2020-07-01 15:14:52 +08:00
mindspore-ci-bot bd3f3b51e4 !2722 Optimize parser
Merge pull request !2722 from Kang/optimization
2020-07-01 14:14:05 +08:00
wuyongkang 274bd25386 Optimize parser 2020-07-01 10:20:12 +08:00
panyifeng d6635bbbe2 Add IndexedSlices 2020-06-30 17:38:24 +08:00
huangdongrun 9d3c9c69fe modify map to C.Map() 2020-06-24 15:07:33 +08:00
gong chen a6dfa281ea Init GraphKernel.
- It provides a unified style to express graph and kernel for user.
- It provides a unified IR to represent graph and kernel for developer.
- It breaks the boundary between graph and kernel.
- It provides more opportunities to do compile optimization.
2020-06-20 22:31:54 +08:00
mindspore-ci-bot 42c00b1534 !2222 fix op compile log bug
Merge pull request !2222 from wangcong/master
2020-06-18 14:12:26 +08:00
kingfo 358982a98f fix hook and bprop debug issue 2020-06-18 09:50:30 +08:00
wangcong aed393d50f add pre compile process 2020-06-17 20:59:08 +08:00
huangdongrun 9522f59b87 support for tensor indexing in pynative
support tensor slice using constexpr

remove tensorslice metagraph

add pynative testcases
2020-06-11 19:14:22 +08:00
mindspore-ci-bot 8de8289cfd !1840 Add op pre compiler process
Merge pull request !1840 from wangcong/master
2020-06-11 14:58:58 +08:00
wangcong 0749ce3710 add pre compile process 2020-06-11 11:51:22 +08:00
kingfo 38436f929f move hook function to primtivePy class 2020-06-10 15:33:46 +08:00
huangdongrun beacc26077 * add isconstant primitive
* add infer_value for common math ops
* convert constant bool tensor to bool value

* do not infer value when encounter 0 as division

for while condition, do not unrool if condition is a tensor
2020-06-04 21:51:44 +08:00
mindspore-ci-bot 00672a47b8 !1730 control sink refactor
Merge pull request !1730 from wenchunjiang/fix_code_check
2020-06-01 15:02:40 +08:00
rick_sanchez e2a322b6b7 Modify code to support dynamic graph. 2020-06-01 10:20:24 +08:00
wenchunjiang 772806b03e fix code check 2020-06-01 09:28:18 +08:00
buxue 7ae289a197 Support mixed tensor for tensor getitem or setitem. 2020-05-27 11:19:51 +08:00
wenchunjiang a295738830 add param_type in json 2020-05-25 20:05:51 +08:00
kingfo 840922e501 add backward hook function in pynative mode 2020-05-24 13:32:44 +08:00
zhaozhenlong b54ffdc086 add op BoundingBoxDecode
iou

NMSWithMask

larsupdate testcase

sgd testcase
2020-05-16 02:40:16 -04:00
jjfeing 34c221ffc8 fix pytest failed when one case compile error 2020-05-06 09:04:37 +08:00
candanzg e886a3182c tensor assign with ellpsis
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-29 11:05:44 +08:00
jjfeing d03e04b828 support buffer fusion 2020-04-28 20:25:15 +08:00
lvliang 52ab6f4948 pynative-lamb-op-zeros-like-tensor-query-failed 2020-04-26 09:14:53 +08:00
candanzg 663d597330 tensor assign with slice index
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-23 13:07:04 +08:00
leonwanghui 24b26ee1a8 Move args_type_check function to _checkparam.py 2020-04-21 10:20:09 +08:00
buxue 7c233a57fa support python func print and != for list with none 2020-04-20 19:55:50 +08:00
candanzg 3f087dba1a Tensor assign syntax:
1) A[B]=U
2) A[A>n]=U
    A.shape == B.shape
    U is a scalar or Tensor(size==1)
    B is Tensor(dtype=bool)
    n is a Number

Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-04-20 08:44:34 +08:00
mindspore-ci-bot 08985a1e56 !286 resolve pynative operator unsupport issue
Merge pull request !286 from wangqiuliang/resolve-pynative-operator-issue
2020-04-17 10:04:54 +08:00