Commit Graph

78 Commits

Author SHA1 Message Date
buxue f84b055244 add check for implicit conversion when scalar is not number and bool. 2020-07-22 20:55:19 +08:00
mindspore-ci-bot 05de773775 !3209 Fix bug about output of AddNGrad.
Merge pull request !3209 from liuxiao93/AddN
2020-07-18 19:56:31 +08:00
mindspore-ci-bot ffb7040c3c !3200 [clean]remove loop_can_unroll flag, clean some other python code
Merge pull request !3200 from vlne-v1/remove_loop_can_unroll
2020-07-18 19:44:29 +08:00
liuxiao93 8705545bcd Fix bug about output of AddNGrad. 2020-07-18 18:47:52 +08:00
Wei Luning f362503d57 support throw attribute error from c++ 2020-07-18 17:54:26 +08:00
Wei Luning 88e864a4a3 remove loop can unroll flag, clean some python usage 2020-07-18 17:41:34 +08:00
Wei Luning acbccea644 remove redundant phi 2020-07-17 11:46:09 +08:00
panyifeng 394178569e fix valuenode simplify 2020-07-15 10:09:30 +08:00
kingfo add3778a61 add grad all in pynative mode 2020-07-10 17:49:54 +08:00
buxue 4df1edf5b3 Improving implicit type conversion 2020-07-09 21:38:00 +08:00
buxue 4e832b2309 support implicit type conversion for pynative mode 2020-07-09 15:41:41 +08:00
jinyaohui c7f6527e92 fix print file bug 2020-07-07 21:05:17 +08:00
Hoai Linh Tran 6bd66e7953 Fix memcpy calls. Add ut tests for arithmetic_simplify. Split long arithmetic_simplify.h to arithmetic_simplify.cc
Code checking
2020-07-02 17:51:08 -04:00
jinyaohui dd5fba1db9 add notice 2020-06-29 17:39:25 +08:00
changzherui 9e83337e2f delete pynative lenet_model test 2020-06-27 15:33:27 +08:00
kingfo 078738adc5 add tensor mod & floordiv operation 2020-06-24 16:47:23 +08:00
Wei Luning 8f56528f8c add flags on function 2020-06-23 20:22:07 +08:00
mindspore-ci-bot 9ba6f61d01 !2148 fix hook and bprop debug issue in pynative
Merge pull request !2148 from wangqiuliang/fix-hook-bprop-issue
2020-06-18 10:44:45 +08:00
kingfo 358982a98f fix hook and bprop debug issue 2020-06-18 09:50:30 +08:00
simson ca988e9e69 fix the condition when activation name is 0 2020-06-18 09:14:45 +08:00
mindspore-ci-bot 11f5f88021 !2010 fix operator issues for tuple_to_array and cast
Merge pull request !2010 from wangqiuliang/fix-tuple-to-array-issue
2020-06-15 15:38:47 +08:00
kingfo 9708e58259 fix TupleToArray & Cast operator issue 2020-06-15 14:39:10 +08:00
buxue 66bbdb4a31 change tensor dtype and shape from function to attr 2020-06-12 19:03:23 +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
kingfo 38436f929f move hook function to primtivePy class 2020-06-10 15:33:46 +08:00
mindspore-ci-bot c82a8bf483 !1678 modify print
Merge pull request !1678 from jinyaohui/print
2020-06-08 11:20:53 +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
jinyaohui 5e43edc474 clean pylint 2020-06-04 21:03:30 +08:00
kingfo 9785178b88 add tensor compare & len & constexpr operation 2020-06-03 10:27:41 +08:00
rick_sanchez e2a322b6b7 Modify code to support dynamic graph. 2020-06-01 10:20:24 +08:00
jinyaohui 86d197dfeb clean pylint 2020-05-29 23:00:00 +08:00
liuwenhao4 f87c70a9ab Fixing some tiny faults about Pylint in my code(ops) 2020-05-29 12:01:04 +08:00
mindspore-ci-bot 9c858444b0 !1568 Fix pylint warning for test cases of optimizer, infer, parse and pynative.
Merge pull request !1568 from seatea/fix-pylint-warning
2020-05-28 16:59:57 +08:00
seatea 7398526abc Fix pylint warning for test cases of optimizer, infer, parse and
pynative.
2020-05-28 11:35:33 +08:00
mindspore-ci-bot fb7e4eac76 !1535 change hook function grad input to tuple
Merge pull request !1535 from wangqiuliang/change-hook-grad-input-to-tuple
2020-05-28 09:36:28 +08:00
kingfo 8f7e571a0b change hook grad input to tuple 2020-05-27 20:34:07 +08:00
seatea 21ab029227 Fix pylint warning for files under `pynative_mode` directory. 2020-05-27 19:28:31 +08:00
mindspore-ci-bot 831ceba6eb !1277 Fixing some tiny faults about Pylint in ME code
Merge pull request !1277 from liuwenhao/master
2020-05-26 11:08:10 +08:00
liuwenhao4 f3f0cbaeee Fixing some tiny faults about Pylint in my code(ops) 2020-05-25 21:27:45 +08:00
panyifeng 6a57eeb922 fix check_bprop attr error 2020-05-25 16:52:30 +08:00
mindspore-ci-bot 0e665616f0 !1160 add backward hook and custom bprop in pynative mode
Merge pull request !1160 from wangqiuliang/add-backward-hook-in-pynative-mode
2020-05-24 18:09:48 +08:00
kingfo 840922e501 add backward hook function in pynative mode 2020-05-24 13:32:44 +08:00
ougongchang 7d78b5d89e Put the parameter validation of the Summary operator into the python layer
add some unittest for summary operator

support ScalarSummary to record number type
2020-05-22 21:23:43 +08:00
jinyaohui 5a914994ba clean pylint 2020-05-18 16:42:35 +08:00
jinyaohui bcfaff97f9 clean pylint 2020-05-18 10:31:46 +08:00
jinyaohui 2907cf4488 remove some context param 2020-05-16 15:07:13 +08:00
mindspore-ci-bot bb374ebc28 !1015 Support weights to be compiled according to shape
Merge pull request !1015 from candanzg/me_with_shape
2020-05-15 09:13:41 +08:00
panyifeng 755ba75deb fix pylint 2020-05-14 14:22:52 +08:00
candanzg 2cc85bdc93 Support weight compile according to shape
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-05-13 17:49:07 +08:00
jinyaohui 391a060f21 remove two context param 2020-05-12 22:11:50 +08:00