Commit Graph

177 Commits

Author SHA1 Message Date
lianliguang 316afeaf94 remove useless api 2022-11-09 14:46:43 +08:00
yanglf1121 968d05afee split tensor and sparse tensor 2022-10-31 14:10:11 +08:00
yanglf1121 5269408262 deprecate rowtensor 2022-10-27 19:15:00 +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
changzherui 264dccfd0d clean code for python 0918 2022-09-22 19:58:36 +08:00
chujinjin 456092b3b0 fix implicityly converted log error 2022-07-05 16:49:47 +08:00
Zhang Qinghua 8d48c81857 Optimize the error log description for CreateInstance.
Support ms_function for user defined class methods, not only for cell methods.
2022-07-04 14:53:08 +08:00
Zhang Qinghua 9e1d8627e5 Allow the Parameter object as a construct/ms_function parameter type. 2022-05-26 14:41:00 +08:00
Zhang Qinghua d7762f1c8d Add bprop_return_sparse flag for sparse bprop primitive and remove context option: 'enable_sparse'. 2022-05-19 17:31:57 +08:00
i-robot 406eaf37b1
!33497 Support custom cell bprop when using Parameter in primal graph
Merge pull request !33497 from YuJianfeng/custom_bprop
2022-04-27 12:30:02 +00:00
yujianfeng 5f6bb3132e Support custom cell bprop when using Parameter in primal graph 2022-04-27 14:08:17 +08:00
huangbingjian d6485b82f6 Remove support for dataclass 2022-04-24 09:12:50 +08:00
Zhang Qinghua 973008ebcf Change the Parameter type name from 'ParameterTensor' to 'Parameter' 2022-03-08 11:23:56 +08:00
zhangzhaoju e000889265 Fix issue I4KVTZ
The description of "outmost network" in error message instead by
method/function name
2022-02-21 19:52:53 +08:00
wangrao124 9dfc703f7a change sparsetensor to cootensor 2022-01-25 15:39:37 +08:00
zhangzhaoju 1950b6a823 Optimize the exception message while the return number of brop is wrong
Fix:I4OQM9 Bprop out check message optimize
2021-12-31 15:01:57 +08:00
Margaret_wangrui 38ddd04c83 [ME] Optimize the error message of the operator module. 2021-12-23 10:10:48 +08:00
Margaret_wangrui f9a88a01bc [ME] Optimize the error message of the operator module 2021-12-21 10:19:25 +08:00
zhangzhaoju d34f14e324 white list for syntax exception 2021-11-29 12:40:38 +08:00
chujinjin 26410ccf75 optimize implicit convert error message 2021-11-01 17:34:11 +08:00
chujinjin 90836f70a0 fix context python ut error 2021-10-14 14:27:50 +08:00
7347157+joylvliang@user.noreply.gitee.com aecbdf3c3b ut_run_failed_in_pynative_mode 2021-10-13 18:46:27 +08:00
huanghui 1af32f74f9 support None argument for the outermost net 2021-10-11 16:00:57 +08:00
dingpeifei 89f9d0f263 api context 0927 2021-09-29 23:15:36 +08:00
dingpeifei 7523b320d7 enable profiling warning 2021-09-17 17:09:56 +08:00
7347157+joylvliang@user.noreply.gitee.com 6e59598f99 correct_wrong_info_when_using_ms_function_with_bprop 2021-09-16 14:12:55 +08:00
i-robot bbdacd41f4 !20585 add security isolate for save_graphs
Merge pull request !20585 from huanghui/add-security-isolate-for-DumpIR
2021-09-15 01:25:46 +00:00
i-robot db19a40280 !23365 add print op security
Merge pull request !23365 from fangzehua/print_sec
2021-09-14 09:01:31 +00:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
fangzehua 4ccc635a07 add print security 2021-09-13 17:45:36 +08:00
zhangzhaoju 4296881a16 syntax 2021-09-13 15:20:53 +08:00
i-robot fa12d62d4d !21776 set device_id master 0813
Merge pull request !21776 from mindspore_ding/set_device_id_master_0813
2021-09-06 03:02:58 +00:00
dingpeifei b4bc6000dc set device id master 0813 2021-09-02 20:51:50 +08:00
7347157+joylvliang@user.noreply.gitee.com 14d24d4793 update_bprop_error_information 2021-09-02 20:40:55 +08:00
i-robot a646eb27ab !21616 modify ms function cache key
Merge pull request !21616 from chujinjin/modify_ms_function_cache_key
2021-08-26 07:36:50 +00:00
chujinjin 551fa9ab8b modify ms function cache key 2021-08-25 14:40:45 +08:00
7347157+joylvliang@user.noreply.gitee.com a30800ecc3 add_st_ut_case_for_pynative_non_tensor_input 2021-08-24 16:44:05 +08:00
caifubi 95695711d7 Remove PyNative Parameter Check 2021-06-18 09:46:27 +08:00
huangbingjian ad8f73f32b set default context mode to GRAPH_MODE 2021-06-09 14:40:49 +08:00
chujinjin 7fb3b5ea97 fix log error 2021-05-27 17:19:10 +08:00
yepei6 81789ffb5d augassign 2021-04-23 11:58:07 +08:00
yujianfeng f0b7c3dd4d Add a switch to control grad for scalar 2021-02-27 18:12:37 +08:00
yujianfeng 41189781f3 support scalar input for cell 2021-02-25 09:56:15 +08:00
He Wei 7d9a783993 [auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.

The ControlDepend primitive is removed and there are two primitives added:

1. UpdateState:
```
  a = Assign(para, value)
```
became:
```
  a = Assign(para, value, u)
  u = UpdateState(u, a)
```

2. Load:
```
  x = Add(para, value)
```
became:
```
  p = Load(para, u)
  x = Add(p, value)
  u = UpdateState(u, p)
```
2021-02-08 09:01:15 +08:00
zhangyihui bbbffbb6a9 Modify the profiling_options parameter name 2021-02-05 10:15:01 +08:00
wangshuide2020 30f99f2722 add raises description for BCELoss, ReLU, BatchNorm1d, etc. operators. 2021-02-02 20:52:00 +08:00
mindspore-ci-bot b189f177bb Change tuple_getitem to TupleGetItem and some other ops, merge from r1.1 to master 2021-02-02 15:54:15 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
ougongchang c6e4b0c85f Add more log when collect graph and use summary operators
Fix can not collect input data when batch size is 1 and total step
number is 1

Fixed spelling errors
2021-01-26 11:24:16 +08:00
buxue acec35d4d4 support non tensor inputs 2021-01-14 09:21:01 +08:00