Commit Graph

7 Commits

Author SHA1 Message Date
buxue 6beb8071d7 support bprop for const in pynative and develop stridedslice and isinstance. 2020-07-29 11:56:59 +08:00
buxue 073507a5e0 support call the parent class function 2020-07-21 16:38:11 +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
buxue cfa41733d6 support Python built-in function 'enumerate' 2020-07-03 14:42:10 +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
zhunaipan 930a1fb0a8 initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
2020-03-27 22:54:54 +08:00