Commit Graph

505 Commits

Author SHA1 Message Date
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
zhangzhaoju 4296881a16 syntax 2021-09-13 15:20:53 +08:00
i-robot 9b7a966174 !21262 [assistant][ops]New operator implementation, include SparseApplyRMSPropD
Merge pull request !21262 from 梁秀波/SparseApplyRMSPropD
2021-09-11 06:01:29 +00:00
i-robot bbbd6e0254 !22579 modify resizebilinear infer type
Merge pull request !22579 from Simson/opinfer
2021-09-02 01:02:00 +00:00
simson 7a2fbdda85 modify resizebilinear infer type 2021-09-01 09:03:55 +08:00
Feve1986 82b04d6a1e [feat][assistant][I40FFX] add new Ascend operator SparseApplyRMSPropD 2021-08-31 17:28:38 +08:00
jiangzhenguang 8812c8fe9b amend assign 2021-08-31 09:10:21 +08:00
i-robot 37ecdba742 !20829 [assistant][ops]New operator implementation, include ApplyAdagradDA
Merge pull request !20829 from 梁秀波/ApplyAdagradDAD
2021-08-30 09:16:19 +00:00
zx 0efbedd23c [feat][assistant][I40FFF] add new Ascend operator ApplyAdagradDA 2021-08-30 11:01:18 +08:00
Zhang Qinghua a137fa1d0b Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
2021-08-28 17:36:12 +08:00
i-robot cd4081ac87 !20676 [assistant][ops] Add array operator SplitV
Merge pull request !20676 from 孟权令/SplitV
2021-08-26 13:54:40 +00:00
i-robot 7083ec9d37 !21925 add pad mode to maxpool3d
Merge pull request !21925 from jiangzhenguang/amend_maxpool3d
2021-08-26 09:08:37 +00:00
i-robot 471c57d3d7 !20046 [assistant][ops] Add New MaskedFill
Merge pull request !20046 from 孟权令/MaskedFill
2021-08-26 07:43:18 +00:00
i-robot 07eaa1969b !22344 fix compile error when weight is used in while condition
Merge pull request !22344 from xychow/fix-while-loop-with-weight-in-condition
2021-08-26 03:00:38 +00:00
i-robot 457a01fd09 !20055 [assistant][ops] Add math operator IndexAdd
Merge pull request !20055 from 孟权令/IndexAdd
2021-08-26 01:15:39 +00:00
jiangzhenguang 8a78b2b7f6 add pad mode to maxpool3d 2021-08-25 16:24:02 +08:00
doit a5193df648 [feat] [assistant] [I3T92B] add new array operator MaskedFill 2021-08-25 15:29:37 +08:00
i-robot 36238032a2 !22245 Add pynative switch layer ut test case
Merge pull request !22245 from zjun/switch_layer_ut_test
2021-08-25 07:24:28 +00:00
hulx c70731d601 [feat][assistant][I3T924] add new math operator IndexAdd 2021-08-25 14:19:17 +08:00
zhousiyi 44bdcb101c fix while loop compile error when weight is used in while condition 2021-08-25 01:33:34 +00:00
hulx ca6f3ef155 [feat][assistant][I3T925] add new math operator Erfinv 2021-08-24 21:25:04 +08:00
hedongdong 09bc1bddf1 [feat][assistant][I3T92H] add new array operator SplitV 2021-08-24 19:54:26 +08:00
zjun 779b655cfe Add switch_layter pynative ut test
Signed-off-by: zjun <zhangjun0@huawei.com>
2021-08-24 11:21:13 +08:00
ms_yan 36a8886ca2 Revert "[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset"
This reverts commit b077aa1cab.

Revert "[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset"

This reverts commit 4e6f7dc97d.

delete pass_registry_test.cc

comment  hiai_nlu_model_multi.pb related  line
2021-08-23 01:46:38 +08:00
djc b077aa1cab [feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset 2021-08-22 16:26:45 +08:00
djc 4e6f7dc97d [feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset 2021-08-22 13:39:37 +08:00
doit bf23333b27 [feat] [assistant] [I3T927] add new math operator Lerp 2021-08-20 20:19:41 +08:00
i-robot 954864bfba !22037 incoroporate getitem if indexed node is zeros_like
Merge pull request !22037 from xychow/always-incorporate-getitem-if-zeros-like
2021-08-20 02:14:35 +00:00
i-robot c93bb9936e !20011 [assistant][ops] Add nn operator Roll
Merge pull request !20011 from 孟权令/Roll
2021-08-19 06:28:28 +00:00
zhousiyi dcd374961e incoroporate getitem if indexed node is zeros_like so AddN(MakeTuple(x, zeros_like)) can be optimized 2021-08-19 03:28:24 +00:00
hedongdong d76ed25e96 [feat][assistant][I3T92I] add new nn operator Roll 2021-08-18 10:15:17 +08:00
SichongHao 3d2892b454 [feat][assistant][I3T91Y][I3T91Z]add new operator SoftMarginLoss and SoftMarginLossGrad 2021-08-06 15:13:13 +08:00
zhangjie b04036e13c [feat][assistant][I3PYD4] add new data operator HShrink and HShrinkGrad 2021-08-01 20:55:58 +08:00
danansheng accb87606a [feat][assistant][I3PYD4] add new data operator HShrink 2021-08-01 20:52:55 +08:00
Zhang Qinghua 8be269c1cc Fix GradOperation issues:
- Allow the J CNode used multiple as non-call input.
- Check recursive J FG including FV J CNode.
- Add grad functional api.
2021-07-26 20:47:49 +08:00
wanglixin 33e93e296c [fix][assistant][I3PYD0] fix bug in the Ascend operator HSigmoid and HSigmoidGrad 2021-07-23 16:33:16 +08:00
wild-fox b6c575689d [feat][assistant][I3PYD0] add new Ascend operator HSigmoid 2021-07-23 16:20:51 +08:00
wanglixin a377ade89f [feat][assistant][I3PYD3] add new Ascend operator HSigmoidGrad 2021-07-23 16:20:51 +08:00
Lizxxy 5d00d482e4 [feat][assistant][I3PYDC] add new Ascend operator SoftShrinkGrad 2021-07-20 17:55:02 +08:00
zx be26e62080 [feat][assistant][I3PYDB] add new Ascend operator SoftShrink 2021-07-20 17:52:46 +08:00
huangbingjian d695554ae5 modify the error message of abstract join 2021-06-18 14:12:10 +08:00
huangbingjian ad8f73f32b set default context mode to GRAPH_MODE 2021-06-09 14:40:49 +08:00
liuxiao93 1160088c8f support avgpool3d 2021-05-22 14:44:11 +08:00
mindspore-ci-bot ed72a0d9c3 !16497 Add more accurate abstract join error information
From: @huangbingjian
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-05-18 19:36:11 +08:00
huangbingjian 81624dd501 add more error report to abstract join 2021-05-17 21:14:17 +08:00
Zhang Qinghua bea16101c3 Add environment variable to enable recursive evaluate. 2021-05-14 20:01:19 +08:00
yepei6 acbd7eb023 add more tensor methods 2021-05-10 14:40:53 +08:00
huangmengxi d6be043cb9 fix & restructure setitem 2021-04-27 10:03:10 +08:00
dingpeifei 87e41aaeee IR operators of GPU and CPU are unified as batchnorm 2021-03-18 19:02:28 +08:00
l00591931 bd777e0710 throw exception when tensor has zero in shape 2021-03-16 10:39:48 +08:00
mindspore-ci-bot e1a95b1152 !12714 rebuild getitem
From: @yepei6
Reviewed-by: 
Signed-off-by:
2021-03-11 14:49:21 +08:00
liuxiao93 35f6ba9011 Add MaxPool3D,MaxPool3DGrad,MaxPool3DGradGrad ops for Ascend. 2021-03-10 15:33:07 +08:00
yepei6 57373ed30a merge getitem the by otehr types to by tuple(success) 2021-03-09 10:47:29 +08:00
mindspore-ci-bot e58be0de71 !12737 quantum state evolution operator
From: @donghufeng
Reviewed-by: 
Signed-off-by:
2021-03-03 15:38:42 +08:00
mindspore-ci-bot 85461bcdb3 !12532 add SyncBatchNorm
From: @yuchaojie
Reviewed-by: 
Signed-off-by:
2021-03-01 19:34:41 +08:00
xuxs 066d23e2ad evolution operator 2021-03-01 14:20:31 +08:00
yuchaojie 6d195f340c add SyncBatchNorm 2021-02-27 14:32:54 +08:00
mindspore-ci-bot f269f3fc8d !12231 Support ad for scalar inputs
From: @ginfung
Reviewed-by: 
Signed-off-by:
2021-02-26 15:50:32 +08:00
yujianfeng 41189781f3 support scalar input for cell 2021-02-25 09:56:15 +08:00
wangshuide2020 b9eb90b198 add GPU for DenseBnAct, Erfc, Log1p, etc. in Supported Platforms. 2021-02-24 16:30:38 +08:00
wangshuide2020 8a7fa2e651 add raises description for Cast, Diag, Eye, Fill etc. operators. 2021-02-23 17:33:19 +08:00
mindspore-ci-bot bff0fde980 !12249 make slice support tensor
From: @zhangbuxue
Reviewed-by: 
Signed-off-by:
2021-02-23 10:55:27 +08:00
buxue 416017bf65 make slice support tensor 2021-02-22 17:07:37 +08:00
xuxs c70049b190 mindquantum
mindquantum

cmake lint

projectq patch

test pqc

space

pylint

pqc python ops

doc

check

bug

bug

bug

bug

check boundary condition

mindquantum in log_adapter

mindquantum in adapter and recorder cc

substract to subtract

public variable to private variable

public variable to private variable

commit

debug

debug

const in utils

delete dtol

clint
2021-02-20 12:33:51 +08:00
mindspore-ci-bot a063d7633d !12241 [auto-monad] Support side-effects by auto-monad
From: @hwhewei
Reviewed-by: @zhunaipan,@zh_qh
Signed-off-by: @zh_qh
2021-02-08 10:25:57 +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
liu_xiao_93 fabc25538e Add BCEWithLogitsLoss 2021-02-07 09:06:16 +08:00
jinyaohui 30a27b2adb modify Gelu、FastGelu to GeLU and FastGeLU 2021-02-05 17:19:52 +08:00
jinyaohui 8022f9a6ed modify pack to stack 2021-02-04 18:54:31 +08:00
buxue 6ccc4379b4 do not broaden scalar 2021-02-03 11:30:25 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
mindspore-ci-bot 9fa0499fa0 Change GatherV2 to Gather r1.1 to master 2021-01-30 14:13:47 +08:00
jiangzhenguang de8c2c95d1 add isfinite grad 2021-01-27 09:10:49 +08:00
mindspore-ci-bot 8170669909 !11174 add_mish_mulnonan_selu_operations
From: @jiangzg001
Reviewed-by: @liangchenghui
Signed-off-by: @liangchenghui
2021-01-23 17:24:17 +08:00
mindspore-ci-bot f8f6421459 !10968 Add dynamic shape support for the operator Concat
From: @david-he91
Reviewed-by: 
Signed-off-by:
2021-01-23 16:58:40 +08:00
jiangzhenguang 991fb122f3 add_mish_mulnonan_selu_operations 2021-01-22 10:31:31 +08:00
hedongdong 8241dfa443 Add dynamic shape support for the operator Concat 2021-01-21 20:36:29 +08:00
mindspore-ci-bot 60feffad20 !11332 update Pooling's attr kernel_size, pad_mode
From: @yuchaojie
Reviewed-by: 
Signed-off-by:
2021-01-19 16:17:45 +08:00
yuchaojie b51b3a6764 update Pool's attr kernel_size, pad_mode 2021-01-18 12:10:20 +08:00
buxue 69d9a33ddb show line of code when parse or resolve phase exception 2021-01-16 16:31:04 +08:00
liuxiao93 aacad990c3 Add grad of sort. 2021-01-11 09:07:46 +08:00
mindspore-ci-bot 274e0aa750 !10885 add nll_loss operation
From: @jiangzg001
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
2021-01-07 14:15:22 +08:00
jiangzhenguang d3f42e7d6b add nll_loss operation. 2021-01-06 09:11:35 +08:00
Payne b12ca2165c add bool expand dims and wait to test 2020-12-31 14:55:13 +08:00
jiangzhenguang 9f950fb16c add batchnorm3d 2020-12-29 09:37:35 +08:00
Payne 4f78ee0077 fix getitem bug 2020-12-23 22:02:23 +08:00
mindspore-ci-bot 70dc40551a !10020 Improve fancy index from 1st dimension to arbitrarily dimension
From: @yepei6
Reviewed-by: 
Signed-off-by:
2020-12-23 21:23:36 +08:00
Payne 5c9982729d fancy index getitem 2020-12-22 18:13:16 +08:00
Payne 236bfb75e3 change the int32 restrict to int 2020-12-22 17:35:02 +08:00
buxue aeeef7607a remove the 'raise' in construct of Cell 2020-12-17 10:54:42 +08:00
mindspore-ci-bot a9f2de8307 !9737 complete fancy index getitem
From: @yepei6
Reviewed-by: 
Signed-off-by:
2020-12-15 09:44:52 +08:00
Payne 4c8f0914d0 complete fancy index getitem 2020-12-14 22:18:38 +08:00
mindspore-ci-bot ca4225a4f3 !9717 amend some script
From: @jiangzg001
Reviewed-by: @liangchenghui,@c_34
Signed-off-by: @liangchenghui
2020-12-14 19:39:15 +08:00
jiangzhenguang 9cf856dd25 amend some script 2020-12-14 11:08:20 +08:00
jjfeing 1984cf8e20 unify mindir 2020-12-12 17:55:16 +08:00
Bairong 8cf43e59e0 hide arange, delete related test case and improve the doc string of nn.Range 2020-12-10 21:42:59 +08:00
mindspore-ci-bot a2aea8cba5 !9578 add_conv3d_transpose_object
From: @jiangzg001
Reviewed-by: @liangchenghui,@liangchenghui
Signed-off-by: @liangchenghui
2020-12-09 16:41:48 +08:00
mindspore-ci-bot 6d34bacc17 !9470 support arange in functional.py
From: @bairongz
Reviewed-by: @ginfung
Signed-off-by:
2020-12-09 14:39:36 +08:00
jiangzhenguang 5060565920 add conv3d_transpose. 2020-12-09 13:48:23 +08:00
Bairong 2eeaec7512 support arange in functional.py 2020-12-07 16:22:55 +08:00