Commit Graph

878 Commits

Author SHA1 Message Date
Carry955 3d182380d8 [feat][assistant][I4862P] add new aicpu operator Tril 2022-03-26 19:36:29 +08:00
i-robot 5a4e25db92
!26226 [assistant][ops] Add NonDeterministicInts
Merge pull request !26226 from yyxhgg/NonDeterministicInts
2022-03-26 09:42:53 +00:00
wangyantao 668cdb936f [feat] [assistant] [I471CP] add new operator CropAndResizeGradBoxes 2022-03-26 00:30:34 +08:00
ZCX 0cb72a21f3 [feat] [assistant] [I471DI] add new Ascend operator NonDeterministicInts 2022-03-25 22:29:47 +08:00
Margaret_wangrui 6d10adc9c5 [ME]Support raise in constant scenarios. 2022-03-22 19:33:47 +08:00
yux1ng 0b6b9e02cb [feat][assistant][I4XJG3] add new Ascend operator Identity 2022-03-21 20:06:53 +08:00
hu-daiwang 3b093696e7 [feat] [assistant] [I48O6L] add the fillV2 operator 2022-03-17 11:19:59 +08:00
jiangzhenguang 28f89f36b4 unique support multi-dim tensor 2022-03-08 14:09:19 +08:00
lianliguang 55e7f2d761 modify DynamicShape to TensorShape 2022-03-07 14:19:12 +08:00
i-robot ce5e93593d
!30301 modify error log
Merge pull request !30301 from lianliguang/change-error-log
2022-02-22 02:29:48 +00:00
i-robot 926fb6f5ae
!25559 [feat] [assistant] [I48O7X, I48O6R] Add Asin, AsinGrad
Merge pull request !25559 from 桂宁馨/Asin
2022-02-21 14:00:58 +00:00
lianliguang efabace125 change error log 2022-02-21 17:48:16 +08:00
i-robot 908beb6b2f
!26420 [feat] [assistant] [I48O90, I48O4P] Add AsinhGrad,Asinh
Merge pull request !26420 from 桂宁馨/Asinh
2022-02-21 09:33:18 +00:00
lianliguang 5c8af66e53 support TensorShape ops to instead of DynamicShape ops 2022-02-21 09:33:32 +08:00
桂宁馨 caf54a52f0 [feat] [assistant] [I48O90, I48O4P] Add Asinh, AsinhGrad 2022-02-18 15:08:55 +08:00
桂宁馨 911c6eb144 [feat] [assistant] [I48O7X, I48O6R] Add Asin, AsinGrad 2022-02-18 14:11:41 +08:00
lvxinyu 28a08b3cf6 LogicalXor 2022-02-15 13:31:49 +08:00
i-robot 47a4860043
!27184 [assistant][ops]Add Cummax
Merge pull request !27184 from 陈钧/cummax
2022-01-28 06:40:25 +00:00
王泰格 cc8d3e6279 [assistant][ops][I40FKE] add operator Coalesce 2022-01-27 16:08:31 +08:00
chen-jun0211 5343a83f79 Add Cummax 2022-01-27 10:53:51 +08:00
i-robot 4861e9abab
!24098 [assistant][ops] Add UpperBound
Merge pull request !24098 from 王刚克/UpperBound
2022-01-26 10:46:26 +00:00
wang-gangke e912bc8a24 UpperBound 2022-01-25 15:45:33 +08:00
minatofy 7832d77718 cross 2022-01-24 17:09:36 +08:00
davilsu af1333e1cc HSVToRGB 2022-01-21 20:57:30 +08:00
i-robot b1213abe7d
!23937 [assistant][ops]Add GridSampler3D and GridSampler3DGrad
Merge pull request !23937 from 梁天凯/GridSampler3D
2022-01-21 07:09:17 +00:00
bubtltk f5ffb282ee Add GridSampler3D and GridSampler3DGrad 2022-01-20 22:23:30 +08:00
zy 7543172bd9 [feat] [assistant] [I40GJE] Add new AICPU operator CholeskyInverse 2022-01-20 11:01:45 +08:00
i-robot 46fdab3848
!23958 [assistant][ops] Add LuSolve
Merge pull request !23958 from 张渝/lu_solve
2022-01-20 01:42:24 +00:00
bubtltk e514fc3feb Add LowerBound 2022-01-20 03:07:48 +08:00
zy 37bb297bc7 [feat] [assistant] [I40GI8] Add new operation LuSolve 2022-01-19 15:45:58 +08:00
Weijun 85a7a994fe [feat] [assistant] [I40GJ3] Add new AICPU operator Lstsq 2022-01-19 13:19:46 +08:00
i-robot fd5d5f1d21
!22754 [assistant][ops] Add math operators MatrixInverse, MatrixDeterminant and LogMatrixDeterminant
Merge pull request !22754 from 孟权令/MatrixInverse
2022-01-14 06:56:30 +00:00
Sawyer f335c44340 [feat][assistant][I3T92S][I3T92Q][I3T92R] add MatrixInverse, MatrixDeterminant and LogMatrixDeterminant 2022-01-14 09:20:55 +08:00
zhanlijun 5a5042e385 delete testcase for ops 2022-01-13 21:41:03 +08:00
i-robot 1ac5261dfe
!28598 fix softmaxcrossentropywithlogits infer
Merge pull request !28598 from jiangzhenguang/softmaxcrossentropywithlogits
2022-01-11 07:27:21 +00:00
jiangzhenguang d895eadd7b fix softmaxcrossentropywithlogits infer 2022-01-06 20:44:11 +08:00
i-robot dd90a56d68 !28073 fix code warning && remove save_graphs use in st/ut
Merge pull request !28073 from huanghui/fix-warning
2021-12-24 09:29:25 +00:00
huanghui 74ca50e652 fix code warning && remove save_graphs use in st/ut 2021-12-24 14:45:37 +08:00
zx e0a7a87a9c [feat][assistant][I4CRK5] add new Ascend operator BesselI0 and BesselI1 2021-12-22 16:19:28 +08:00
Sawyer 564d83c959 [feat][assistant][I3T921][I3T923] add Addcdiv and Addcmul 2021-12-21 14:56:04 +08:00
i-robot cc3c980a07 !27874 Real、conj、imag 接口支持实数输入
Merge pull request !27874 from zhouyaqiang0/master
2021-12-20 03:53:16 +00:00
i-robot f1b26ea205 !21339 [assistant][ops]New operator implementation, include SparseApplyAdadeltaD
Merge pull request !21339 from 梁秀波/SparseApplyAdadeltaD
2021-12-20 01:34:10 +00:00
zhouyaqiang a6b48e003d Adapt Real input of ops real imag conj 2021-12-19 17:26:09 +08:00
wild-fox 452dbd4551 [feat][assistant][I40FFU] add new Ascend operator SparseApplyAdadelta 2021-12-18 17:56:51 +08:00
zorax 031c792cf6 [assistant][ops]New operator implementation, include ApplyAdamWithAmsgradD 2021-12-18 16:52:47 +08:00
i-robot 87c7fc13bb !23042 [assistant][ops]New operator implementation, include NonMaxSuppressionV3
Merge pull request !23042 from 梁秀波/NonMaxSuppressionV3
2021-12-18 06:51:51 +00:00
i-robot 457d953565 !22471 [assistant][ops]New operator implementation, include IsClose
Merge pull request !22471 from 梁秀波/IsClose
2021-12-17 11:55:37 +00:00
韩峥嵘 efe0fce473 [feat][assistant][I40FG0] add new Ascend operator NonMaxSuppression 2021-12-17 17:08:39 +08:00
韩峥嵘 43a495f3fd [feat][assistant][I40FG5] add new Ascend operator IsClose 2021-12-17 12:03:38 +08:00
i-robot 0158db12e6 !27800 add testcase for ops
Merge pull request !27800 from zhanlijun/addtest1
2021-12-16 13:12:26 +00:00
zhanlijun 82de6c7ebc add testcase 2021-12-16 20:25:38 +08:00
chenfei 0ae5eb4618 add ms header of env var 2021-12-10 09:35:22 +08:00
Margaret_wangrui 922678edef Revert "Add the check of function return None."
This reverts commit f9a384456a.
2021-11-25 21:18:24 +08:00
i-robot eef5f3f8d4 !22925 [assistant][ops] add operator Cummin
Merge pull request !22925 from yangwm/cummin
2021-11-24 11:46:23 +00:00
Margaret_wangrui f9a384456a Add the check of function return None. 2021-11-24 15:30:35 +08:00
luon 5485ff0cb6 [feat] [assistant] [I40GGH] add new ascend operator Cummin 2021-11-23 21:57:23 +08:00
i-robot 9522ee9686 !25703 [assistant][ops] Add math operator LpNorm
Merge pull request !25703 from 孟权令/LpNorm
2021-11-15 02:36:54 +00:00
kman066 4ebec36ab2 add lpnorm 2021-11-08 19:36:13 +08:00
zhang__sss 8bae4d9d50 grad 2021-11-08 14:12:58 +08:00
i-robot 8758830723 !25479 delete mindquantum c++ simulator
Merge pull request !25479 from donghufeng/master
2021-10-28 08:14:18 +00:00
xuxusheng 7a9a4d0515 delete mindquantum simulator 2021-10-27 18:35:35 +08:00
Sawyer c032d1f83c [feat][assistant][I3T92O]add new operator IsNan 2021-10-27 16:14:03 +08:00
doit cd9242eaa9 [feat] [assistant] [I3T92M] add new math operator IsInf 2021-10-25 14:40:40 +08:00
i-robot 470de9bcaa !21258 [assistant][ops]New operator implementation, include ApplyKerasMomentumD
Merge pull request !21258 from 梁秀波/ApplyKerasMomentumD
2021-10-14 01:05:23 +00:00
Lu 9f68d43c32 Construct supports the filter function. 2021-09-30 15:18:05 +08:00
despicablemme 75ade61acf [feat] [assistant] [I40GGE] add new Ascend operator CeLU 2021-09-28 14:58:25 +08:00
zorax 6098c1da5e [feat][assistant][I40FFO] add new Ascend operator ApplyKerasMomentum 2021-09-27 16:49:18 +08:00
despicablemme 84337078b1 [feat] [assistant] [I40GGM] add new ascend operator Ger 2021-09-27 09:28:05 +08:00
hzw 2f5758a4a8 [feat][assistant][#I40FFZ] add new Ascend operator ExtractVolumePatches 2021-09-24 18:36:03 +08:00
echo-yike 785558cdd2 [feat][assistant][I40FGD] add new Ascend operator Trunc 2021-09-23 14:27:35 +08:00
i-robot ebe094ac0f !21829 [assistant][ops] Add New Cdist and CdistGrad
Merge pull request !21829 from 孟权令/Cdist
2021-09-18 09:23:27 +00:00
jiangshuqiang c2bd061889 fix summary isolation 2021-09-18 10:59:14 +08:00
SichongHao 5412382e16 [feat][assistant][I3T91W][I3T91X]add new operator Cdist and CdistGrad 2021-09-17 13:58:53 +08:00
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
mindspore-ci-bot 186f5394ba !9155 add_conv3d_object
From: @jiangzg001
Reviewed-by: 
Signed-off-by:
2020-12-07 11:48:06 +08:00
mindspore-ci-bot 5d1a8b09db !9097 Primitive Shape support return range of dynamic shape
From: @M20211031
Reviewed-by: @ginfung
Signed-off-by:
2020-12-07 10:30:02 +08:00
liuxiao93 712ad98a92 Move API inner.DynamicGRUV2 to P.DynamicGRUV2. 2020-12-05 14:53:14 +08:00
jiangzhenguang c45eee9b94 add conv3d object 2020-12-04 20:13:29 +08:00
mxm 82268dc703 support DynamicShape and StridedSlice primitive return range of shape value. 2020-12-03 19:08:34 +08:00
mindspore-ci-bot b9d2392937 !9350 Add Matrix_Determinant and Matrix_Inverse to Mindspore front-end
From: @peixu_ren
Reviewed-by: @liangchenghui,@zh_qh
Signed-off-by: @liangchenghui
2020-12-03 10:01:16 +08:00
mindspore-ci-bot 79fef0df0e !9142 fix bug of addn not supported dynamic shape
From: @M20211031
Reviewed-by: @zh_qh
Signed-off-by: @zh_qh
2020-12-02 17:59:37 +08:00
peixu_ren 0adab15de7 Add Matrix_Determinant and Matrix_Inverse to Mindspore front-end 2020-12-01 22:25:50 -05:00
Peilin Wang f7dc2432a0 initial commit
fix ci

fix ci

remove old sequence mask api

fix ci

fix ci

remove old seuqence mask tests
2020-11-30 14:44:22 -05:00
mxm 59f9ac9975 Primitive 'AddN' support dynamic shape 2020-11-30 17:30:20 +08:00
peixu_ren 6355f46d32 Add LBeta op at nn level 2020-11-27 11:59:06 -05:00
mindspore-ci-bot 22d683a805 !8920 Adapt ops LinSpace for Ascend.
From: @liu_xiao_93
Reviewed-by: @liangchenghui,@linqingke,@liangchenghui
Signed-off-by: @liangchenghui,@liangchenghui
2020-11-25 12:03:56 +08:00
liuxiao93 584e241e29 Adapt ops LinSpace for Ascend. 2020-11-25 09:50:03 +08:00
l00591931 17c0810f9e add SequenceMask operator 2020-11-24 19:47:28 +08:00
l00591931 f1e92d0ea7 Change Ones/zeros 2020-11-23 09:33:38 +08:00
mindspore-ci-bot f40a4781e4 !8656 Adapt DynamicGRUV2Grad for Ascend new backend.
From: @liu_xiao_93
Reviewed-by: @jjfeing,@liangchenghui
Signed-off-by: @liangchenghui
2020-11-18 09:54:05 +08:00
peixu_ren 4aa836dae1 Add Digamma op 2020-11-17 11:49:20 -05:00
liuxiao93 2aaf5e2e1b Adapt DynamicGRUV2Grad for Ascend new backend. 2020-11-17 20:27:18 +08:00
peixu_ren 5e9178c5b6 Add IGamma operator 2020-11-16 15:40:09 -05:00
liuxiao93 d471ac491e Adapt DynamicGRUV2 forward for Ascend new backend. 2020-11-13 14:54:40 +08:00
mindspore-ci-bot a442024604 !8510 Add Ones and Zeros operators
From: @liangzhibo
Reviewed-by: @zh_qh,@chenfei52
Signed-off-by: @zh_qh
2020-11-12 20:45:52 +08:00
l00591931 886ef520d7 Add Ones and Zeros operators 2020-11-12 16:26:28 +08:00
mindspore-ci-bot f16509388c !8409 Multi-dimensional list value assignment
From: @liangzhibo
Reviewed-by: @chenfei52
Signed-off-by:
2020-11-12 14:36:20 +08:00
l00591931 c5b5a6719c Enable multi-dimensional list value assignment 2020-11-11 09:25:12 +08:00
liuxiao93 92ba9d94df Adapt UnsortedSegmentMax for Ascend. 2020-11-10 14:12:00 +08:00
HuangBingjian 265a6d61b6 reverse fix shape=0 2020-11-09 15:06:37 +08:00
liuxiao93 0a1155f938 Fix some bugs about API. 2020-11-07 17:06:25 +08:00
HuangBingjian 4477fcfe19 fix shape bug. 2020-11-06 12:59:03 +08:00
liuxiao93 45d343257b Add DynamicGRU. 2020-11-02 19:59:40 +08:00
jzg 4851a67bb5 add layer of clipbyglobalnorm. 2020-11-02 16:15:17 +08:00
jzg 7cbd55e17d add embedding layer. 2020-10-27 20:51:49 +08:00
jzg 374e9e199d add moment and nonzero. 2020-10-22 14:53:26 +08:00
mindspore-ci-bot 3fd54fd58f !7361 Check whether the network args are tensors in the compile phase
Merge pull request !7361 from YuJianfeng/master
2020-10-19 14:32:15 +08:00
yujianfeng 18a76ff3c5 Check whether the network args are tensors in the compile phase 2020-10-19 11:46:10 +08:00
jzg 2c6a9c8486 add fake-quant operators. 2020-10-16 15:50:18 +08:00
mindspore-ci-bot 55be3c42a5 !5875 Add IFMR op for new backend.
Merge pull request !5875 from liuxiao93/IFMR-OpenSource-new-backend
2020-09-24 15:01:08 +08:00
liangzelang 195d97ad46 Remove redundant check about IsInstance op 2020-09-23 10:53:02 +08:00
mindspore-ci-bot f72f2c22fb !6653 fix stream sync error for mixed precesion on pynative mode
Merge pull request !6653 from chujinjin/fix_stream_sync_error_for_mixed_precision
2020-09-22 10:56:55 +08:00
liuxiao93 0e02df812a Add IFMR op for new backend.
(cherry picked from commit 17a5995e97)
2020-09-22 10:12:12 +08:00
chujinjin 1cf8f3b777 fix stream sync error for mixed precision 2020-09-21 19:10:25 +08:00
jinyaohui 334a32d501 fix pylint 2020-09-21 16:24:04 +08:00
Wei Luning cdbd16de0c fix bug in parameter set & fix code style in pynative_executa.cc 2020-09-21 11:32:39 +08:00
jin-xiulang 5873614b86 Refactoring laplace random operator. 2020-09-16 18:40:31 +08:00
lihongkang 74e3adebb8 change api interface 2020-09-15 15:25:28 +08:00
buxue 08059f5c61 add check for stridedslice when choose aicpu or aicore 2020-09-11 10:11:14 +08:00
buxue 1ae9da85e0 remove timeout exception test case 2020-09-08 10:34:22 +08:00
mindspore-ci-bot 021ba724cf !5645 [bug][api]updata signature
Merge pull request !5645 from vlne-v1/ref_demo
2020-09-03 09:11:50 +08:00
Wei Luning 879a519136 updata signature 2020-09-02 17:29:29 +08:00
mindspore-ci-bot bb84f50407 !5473 optim pylint
Merge pull request !5473 from jinyaohui/master
2020-09-02 15:25:30 +08:00
mindspore-ci-bot be3d79cb6b !4204 add dynamic shape support for GatherV2 and others
Merge pull request !4204 from fary86/adapt_primitive_dynamic_shape
2020-09-02 09:31:14 +08:00
buxue 359e1f236e check user define bprop when there is parameter in nested network 2020-09-01 21:24:27 +08:00
fary86 144a35b17e Adapt GatherV2 for dynamic shape 2020-09-01 19:24:21 +08:00
jinyaohui a9972a7def optim pylint 2020-08-31 14:49:57 +08:00
mindspore-ci-bot e94416be0c !5283 Support setting operator io format in the frontend
Merge pull request !5283 from liangchenghui/io_format
2020-08-27 15:48:13 +08:00
梁成辉 34d433fd9a Set io format for old backend 2020-08-26 20:49:15 +08:00
panyifeng 1a54785fe2 remove name arg from gradoperation 2020-08-26 11:16:57 +08:00
fary86 8d245497a4 Fix large for loop Runtime Error due to backend missing operators 2020-08-25 16:25:41 +08:00
mindspore-ci-bot afd16fbf0a !4963 fix bug of switch layer join
Merge pull request !4963 from fary86/fix_switch_layer_join_bug
2020-08-25 10:47:32 +08:00
fary86 947e19b839 Fix bug of switch layer join 2020-08-25 09:08:53 +08:00
panyifeng 637e812347 remove global grad ops 2020-08-24 16:50:09 +08:00
fary86 04524b6bd3 Fix coredump caused by function call depth too large 2020-08-22 15:00:04 +08:00
mindspore-ci-bot c92f7c9170 !4911 add func type check for switch layer
Merge pull request !4911 from riemann_penn/add_func_type_check_for_switch_layer
2020-08-21 16:42:12 +08:00
panyifeng abab21ed57 add func type check for switch layer 2020-08-21 16:11:40 +08:00
mindspore-ci-bot 6e8d3a3b82 !4859 Add CTCGrerdyDecoder ops for old backend.
Merge pull request !4859 from liuxiao93/Add-ReversSqueuce-EditDistance-CTCGrerdyDecoder
2020-08-21 16:05:19 +08:00
panyifeng f9f3cd7ce0 fix switch_layer_issues 2020-08-21 14:17:51 +08:00
liuxiao93 9bc18ea2e5 Add CTCGrerdyDecoder ops for GE. 2020-08-21 10:12:01 +08:00
mindspore-ci-bot 2ac410e90d !4789 Add EditDistance op for GE.
Merge pull request !4789 from liuxiao93/Add-EditDistance-op-for-GE
2020-08-21 09:49:38 +08:00
liuxiao93 4c99f4f649 Add EditDistance op for GE. 2020-08-20 19:39:57 +08:00
huangdongrun f30418991c refactor bool op parsing to be consistent with pynative mode
add testcase of st
2020-08-20 16:45:30 +08:00
panyifeng 22a9d02e9f switch_layer incorporate env_get and tuple_get 2020-08-18 20:23:23 +08:00
fary86 38083e055a Fix coredump missing return statement after while loop 2020-08-18 14:16:21 +08:00
mindspore-ci-bot f875bf21bc !2948 fix control flow
Merge pull request !2948 from amongo/FixControlFlow
2020-08-17 08:56:22 +08:00
huangdongrun 2a6d346d2f support if by if grad parameter
add join for ref

adjust env eliminate to eliminate all env ops

add partial app cache

resolve while endless

fix env eliminate

support for "for while" cases

fix join shape error
2020-08-15 09:47:10 +08:00
panyifeng 1c296b96c9 fix switch layer sigle prim cell 2020-08-14 17:04:01 +08:00
jonyguo 4964f7703a Merge branch 'master' into code_sync_incubator_f3c32baf_to_master_fcfc75a3_0811 2020-08-11 19:40:04 +08:00
peixu_ren 3820533ad1 Refactor Gamma and Poisson ops 2020-08-09 19:47:26 -04:00
changzherui 22336c0843 sync 0807 code to ms-incubator 2020-08-08 10:43:09 +08:00
peixu_ren 517fed55a5 Added LGamma op 2020-08-07 11:40:59 -04:00
fary86 7602054acd Fix do concat in while loop specialize error 2020-08-06 19:41:11 +08:00
mindspore-ci-bot 0b407dfe78 !4005 unsortedsegsum grad
Merge pull request !4005 from fangzehua/unsortedsegsum
2020-08-06 14:19:20 +08:00
mindspore-ci-bot c493859978 !4004 add squreasumall grad
Merge pull request !4004 from fangzehua/squaresumall
2020-08-06 14:18:23 +08:00
fangzehua 99f2be7064 unsortedsegsum grad 2020-08-05 20:34:06 +08:00
fangzehua 7011508379 add squreasumall grad 2020-08-05 20:28:02 +08:00
panyifeng 9927e6eb5c eager mode sparse 2020-08-05 18:21:30 +08:00
liuxiao93 374b7b8583 Add TBE op SquaredDifference for VM. 2020-08-03 18:52:18 +08:00
peixu_ren 374772035a Refactor random uniform ops and complete gamma and poisson 2020-07-30 09:46:52 -04:00
simson b2cdd5d848 Fix the difference of Error type between graph&pynative mode 2020-07-27 17:28:13 +08:00
mindspore-ci-bot 568da0d510 !3425 fix avgpoolgrad
Merge pull request !3425 from fangzehua/avgpool
2020-07-27 14:15:29 +08:00
fangzehua 86dd0c583a fix avgpool grad 2020-07-27 11:06:32 +08:00
mindspore-ci-bot 295038d346 !3324 add reduce_any op for vm
Merge pull request !3324 from fangzehua/reduce_any
2020-07-27 10:38:57 +08:00
kingfo 73ea9b7855 fix mix precesion operator issue 2020-07-25 09:40:50 +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
fangzehua 228a959cc7 add reduce any op for vm 2020-07-23 14:43:53 +08:00
Wei Luning 484d7f10c8 refine code* refine code in bert model* add ToAbstruct for `FuncGraph`, `MetaFuncGraph` `Primitive`* remove partial hard code in spec for poly* remove any in data convert cache 2020-07-23 12:43:37 +08:00
mindspore-ci-bot cf4353f728 !3220 Add random normal op at MindSpore front-end
Merge pull request !3220 from peixu_ren/custom_gpu
2020-07-21 20:33:52 +08:00
fangzehua dde74b227c add 5 vm op 2020-07-21 11:34:10 +08:00
peixu_ren 9b45018dfd Add random normal op at MindSpore front-end 2020-07-20 23:31:30 -04:00
mindspore-ci-bot 6f8863b65d !3198 synchronize latest Ascend software suite 18 Jul 2020, and merging branches
Merge pull request !3198 from yanghaoran/code_sync_0718
2020-07-19 14:14:45 +08:00
yanghaoran 859acc6d2a synchronize latest Ascend software suite 18 Jul 2020, and merging branches 2020-07-18 21:09:55 +08:00
liuxiao93 8705545bcd Fix bug about output of AddNGrad. 2020-07-18 18:47:52 +08:00
Wei Luning 28d1d37085 End at validate when export. 2020-07-17 12:44:12 +08:00
mindspore-ci-bot eeba046115 !3050 Add TBE ops Tan/TruncateDiv/TruncateMod for VM.
Merge pull request !3050 from liuxiao93/Tan/TruncateDiv/TruncateMOd
2020-07-16 20:36:50 +08:00
changzherui f4cb445ea8 syn code for 0715 2020-07-16 17:18:21 +08:00
mindspore-ci-bot 6335598fff !3111 Rollback to Normal that operates on D
Merge pull request !3111 from peixu_ren/custom_gpu
2020-07-16 16:09:24 +08:00
peixu_ren 1feca960aa Rollback to Normal on D 2020-07-16 00:49:23 -03:00
mindspore-ci-bot 7976d77593 !3104 fix mindspore dtype equal
Merge pull request !3104 from fary86/fix_mstype_eq
2020-07-16 10:26:34 +08:00
fary86 595767b4b5 Fix bug of mindspore dtype equal 2020-07-16 09:06:55 +08:00
peixu_ren ac561f2956 Refactor random normal op 2020-07-14 11:35:19 -03:00
peixu_ren 20ca96c62b Add random normal MindSpore interface 2020-07-14 11:19:12 -03:00
liuxiao93 c772b9e291 Add TBE ops Tan/TruncateDiv/TruncateMod for VM. 2020-07-14 16:27:01 +08:00
mindspore-ci-bot 323a80c620 !2765 fix large for loop segment fault
Merge pull request !2765 from fary86/fix_large_for_loop
2020-07-09 09:43:03 +08:00
mindspore-ci-bot 5baae2ebd0 !2884 Add TBE op UnsortedSegmentProd for VM.
Merge pull request !2884 from liuxiao93/UnsortedSegmentProd
2020-07-07 17:12:43 +08:00
liuxiao93 2b0ecfd2b1 Add TBE op UnsortedSegmentProd for VM. 2020-07-07 15:35:00 +08:00
jiangjinsheng a3565a75d1 vm for ParallelConcat 2020-07-06 18:35:12 +08:00
changzherui 17da929b82 syn code 0706 2020-07-06 17:51:17 +08:00
mindspore-ci-bot 3d377c51b9 !2839 support vm for PopulationCount
Merge pull request !2839 from jiangjinsheng/vm_population_count
2020-07-06 17:32:08 +08:00
mindspore-ci-bot aef002ad6c !2809 support Python built-in function 'enumerate'
Merge pull request !2809 from zhangbuxue/support_Python_built-in_functions_enumerate
2020-07-06 09:38:47 +08:00
leilei_snow 5cccfbc61b Add TransShape Operator. 2020-07-05 03:34:35 +00:00
jiangjinsheng ee7aef98df vm for PopulationCount 2020-07-03 17:47:11 +08:00
mindspore-ci-bot 860a32632e !2671 vm for MaxPoolGradGrad, MaxPoolGradGradWithArgmax
Merge pull request !2671 from jiangjinsheng/vm_max_pool_ext2
2020-07-03 17:40:54 +08:00
buxue cfa41733d6 support Python built-in function 'enumerate' 2020-07-03 14:42:10 +08:00
fary86 e17469bf42 Fix bug of large for loop 2020-07-03 11:15:41 +08:00
panbingao 1e51414f1b Adapting operator Softsign in ME 2020-07-02 03:31:25 -04:00
liuxiao ddedc41613 Add TBE operators SparseApplyFtrlV2\SparseApplyAdagradV2 for VM. 2020-07-02 12:00:58 +08:00
jiangjinsheng ce4e15b0b3 vm for MaxPoolExt2,MaxPoolGradGrad,MaxPoolGradGradWithArgmax 2020-07-01 17:05:11 +08:00
zhaozhenlong 8d9939eaa4 ScatterMull and ScatterDiv vm 2020-07-01 15:49:24 +08:00
mindspore-ci-bot 4eafb21ea8 !2638 support vm for mod
Merge pull request !2638 from jiangjinsheng/vm_mod
2020-07-01 14:26:07 +08:00
buxue be771aa9e4 refactor StridedSlice op 2020-07-01 11:08:36 +08:00
jiangjinsheng ffd0352162 vm for mod 2020-07-01 10:16:47 +08:00
mindspore-ci-bot 3a89f93cc5 !2699 add ScatterMax ScatterMin ScatterSub vm
Merge pull request !2699 from zhaozhenlong/op/scatter-max-vm
2020-06-30 20:10:17 +08:00
mindspore-ci-bot 51c4f4a499 !2683 Add TBE operaters ApplyAddSign\ApplyPowerSign\ApplyGradientDescent\ApplyProximalGradientDescent for VM.
Merge pull request !2683 from liuxiao/ops-for-VM
2020-06-29 21:30:17 +08:00
zhaozhenlong a8654ac3b5 add ScatterMax ScatterMin ScatterSub for vm 2020-06-29 17:21:08 +08:00
jin-xiulang 8dff818a18 Add Laplace random operator. 2020-06-29 15:51:59 +08:00
liuxiao 2097a0e90a Add optimizer operators for VM. 2020-06-29 11:35:45 +08:00
peixu_ren c5f72582dc Added 5 random ops 2020-06-28 12:34:02 -03:00
zhaozhenlong d55c0f6679 complement scatter add support dtype 2020-06-28 16:51:53 +08:00
Ziyan 0925e35252 enable optimizer parallel with broadcast 2020-06-27 14:36:17 +08:00
mindspore-ci-bot a9dac909d9 !2535 Fix pynative indexing
Merge pull request !2535 from amongo/FixPynativeTensorIndexing
2020-06-24 14:41:11 +08:00
huangdongrun bc0455eaff * fix bool index
* change slice setitem to mixed procedure
* add testcase for slice assignment
2020-06-24 11:18:20 +08:00
Wei Luning 8f56528f8c add flags on function 2020-06-23 20:22:07 +08:00
jiangjinsheng a1e148cb4d vm for LRN and LRNGrad 2020-06-23 15:47:15 +08:00
jiangjinsheng 017ff492af vm for MatrixDiag,MatrixDiagPart.MatrixSetDiag 2020-06-22 20:24:51 +08:00
mindspore-ci-bot 932b7649e7 !2241 Adapting operator named AccumulateNV2
Merge pull request !2241 from zhangzheng/accumulate
2020-06-22 17:17:47 +08:00
zhangz0911gm 4ac1876237 Adapting AccumulateNV2 2020-06-21 22:49:09 -04:00
jiangjinsheng e71599b5ca vm for lin_space 2020-06-22 10:32:03 +08:00
xutianchun 2bfc86f5b7 Add aicpu op: ReverseSequence, CropAndResize, CTCLoss 2020-06-22 09:31:30 +08:00
pkuliuliu acf46bafbb add Normal op 2020-06-20 09:23:13 +08:00
buxue 2c9ca199ad support catch IndexError in C++ 2020-06-19 12:13:18 +08:00
mindspore-ci-bot b9ad407dc2 !2204 add check for tensor slice before convert to ops
Merge pull request !2204 from zhangbuxue/add_check_for_tensor_slice_before_convert_to_ops
2020-06-17 16:39:11 +08:00
buxue 61857b69ed add check for tensor slice before convert to ops 2020-06-17 15:32:41 +08:00
liuxiao df63a3195d fix input value check for SparseApplyFtrl and SparseApplyAdagrad 2020-06-17 13:05:09 +08:00
mindspore-ci-bot 6089d58d8d !2171 ssim input shape h and w should be greater than or equal to filter_size
Merge pull request !2171 from zhaozhenlong/fix-issues-quant-not-exposed-ssim-ksize-check
2020-06-16 18:53:45 +08:00
zhaozhenlong ea681bfb0f fix ssim filter size check 2020-06-16 17:32:35 +08:00
zhaozhenlong dbfb4f057c move AscendQuant AscendDequant to inner_ops.py 2020-06-16 17:25:26 +08:00
mindspore-ci-bot 71d27c6854 !2068 Add InplaceAddD and InplaceSubD vm ops
Merge pull request !2068 from liuwenhao/master
2020-06-16 11:00:32 +08:00
mindspore-ci-bot 105dcb1c1e !2128 hidden range
Merge pull request !2128 from jiangjinsheng/issue_fix3
2020-06-16 10:37:27 +08:00
mindspore-ci-bot ea96cbcef2 !1979 fix partial primitive poly node
Merge pull request !1979 from fary86/fix_patial_primitive_poly_code
2020-06-16 09:35:57 +08:00
liuwenhao4 be40a90ec6 add InplaceAddD and InplaceSubD vm ops 2020-06-16 09:29:11 +08:00
jiangjinsheng 032e921298 hidden range 2020-06-16 09:18:25 +08:00
mindspore-ci-bot 7b6f13886f !1962 add vm support for operators include ApproximateEqual, InplaceUpdateD and InTopKD
Merge pull request !1962 from zhouneng/add_vm_support_for_ApproximateEqual_InplaceUpdateD_InTopKD
2020-06-15 21:00:35 +08:00
zhaozhenlong ccda0f7b36 add op AscendQuant AscendDequant 2020-06-15 16:42:53 +08:00
fary86 ffa3352088 Fix partial primitive poly node 2020-06-15 10:56:55 +08:00
zhouneng 51fe3501a4 add vm support for ApproximateEqual, InplaceUpdateD and InTopKD. 2020-06-15 10:18:31 +08:00
mindspore-ci-bot b285c8fa9d !1973 develop TensorScatterUpdate op and access ge and vm
Merge pull request !1973 from zhangbuxue/develop_TensorScatterUpdate_op_and_access_ge_and_vm
2020-06-12 18:40:06 +08:00
buxue 8aee6b07d6 develop TensorScatterUpdate op and access ge and vm 2020-06-12 17:43:40 +08:00
mindspore-ci-bot a8378a3357 !1924 Add TBE ops ApplyAdaMax\ ApplyAdadelta\ ApplyAdagrad\ ApplyAdagradV2 for VM.
Merge pull request !1924 from liuxiao/ops-for-VM
2020-06-12 17:16:36 +08:00
lihongkang bbbd980728 add vm for histogramfixedwidth and dataformatdimmap 2020-06-12 09:34:58 +08:00
mindspore-ci-bot f859dfecc8 !1920 SupportPynativeIndexing
Merge pull request !1920 from amongo/SupportPynativeIndexing
2020-06-11 21:11:36 +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
zhaozhenlong 562c2b8d3d sparse gather v2 2020-06-11 19:11:56 +08:00
liuxiao cda547e92f add tbe some ops about optimizer for vm 2020-06-11 12:35:00 +08:00
mindspore-ci-bot 7b7932ced9 !1944 move hook function to PrimitivePy class
Merge pull request !1944 from wangqiuliang/move-hook-function-to-primitivepy
2020-06-11 09:29:00 +08:00
mindspore-ci-bot eecf0a9ab8 !1968 support vm for range
Merge pull request !1968 from jiangjinsheng/vm_FusedMulApplyMomentumExtern
2020-06-10 17:51:15 +08:00
jiangjinsheng a1efe4d14d support vm for range 2020-06-10 15:51:35 +08:00
kingfo 38436f929f move hook function to primtivePy class 2020-06-10 15:33:46 +08:00
mindspore-ci-bot bfc18f3adc !1873 synchronize latest ascend software 04 Jun 2020
Merge pull request !1873 from yanghaoran/master
2020-06-10 01:27:43 +08:00
yanghaoran 8da4c1a763 synchronize latest ascend software 04 Jun 2020 2020-06-09 23:34:13 +08:00
mindspore-ci-bot 0e7839826e !1945 [bug]fix bug in '=', use signature to support auto cast in assign.
Merge pull request !1945 from vlne-v1/I1JXUP-resnet50-thor-assign-fail
2020-06-09 22:57:01 +08:00
Wei Luning ee8420aefa Make assign operator to use the signature. 2020-06-09 21:12:56 +08:00
liuxiao 6856c2ac7a Adapt ops ApplyProximalAdagrad for GE 2020-06-09 14:20:21 +08:00
mindspore-ci-bot c82a8bf483 !1678 modify print
Merge pull request !1678 from jinyaohui/print
2020-06-08 11:20:53 +08:00
mindspore-ci-bot 0a897b0ce7 !1865 add inv,invgrad&invert for vm
Merge pull request !1865 from JichenZhao/bnops_for_vm
2020-06-08 10:42:20 +08:00
zhaojichen cdb7ec937b add inv,invgrad&invert for vm 2020-06-05 08:23:51 -04:00
zhaozhenlong 1f342fb926 add op BroadcastTo 2020-06-05 17:45: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
jiangjinsheng fc4cf5a470 add vm support for ConfusionMatrix 2020-06-04 14:12:13 +08:00
liuwenhao4 ad4996d528 Register forward and backward operations of Ceil 2020-06-02 20:48:37 +08:00
mindspore-ci-bot da06310ae0 !1766 [bug][auto cast]fix bug when do auto cast
Merge pull request !1766 from vlne-v1/I1J0M0-amp-do-auto-cast-failed
2020-06-02 15:44:10 +08:00
Wei Luning 7e4d972f6f fix bug in do signature 2020-06-02 11:59:19 +08:00
zhaozhenlong 270f79c8c2 add op BasicLSTMCell vm 2020-06-01 21:06:12 +08:00
mindspore-ci-bot 0b94376bb3 !1762 support auto cast bool scalar and tensor to number tensor
Merge pull request !1762 from zhangbuxue/support_convert_bool_scalar_and_tensor_to_number_tensor
2020-06-01 20:24:38 +08:00
mindspore-ci-bot addf8e7d06 !1750 add vm support for operaotr Expm1
Merge pull request !1750 from zhouneng/add_vm_support_for_expm1
2020-06-01 17:43:20 +08:00
buxue 62f7dc49e5 support convert bool scalar and tensor to number tensor 2020-06-01 16:30:50 +08:00
lihongkang 436b309915 add vm for cosh and sinh 2020-06-01 15:22:12 +08:00
zhouneng e5419f7bd1 add vm support for Expm1 2020-06-01 14:39:04 +08:00
mindspore-ci-bot 3ec8f9bb40 !1695 Fixing some tiny faults about Pylint in my code(ops)
Merge pull request !1695 from liuwenhao/master
2020-06-01 09:30:48 +08:00
mindspore-ci-bot e1eb52738b !1682 Add tbe op SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagrad for VM.
Merge pull request !1682 from liuxiao/SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagradD
2020-06-01 09:19:44 +08:00
liuwenhao4 7b911886ec Fixing some tiny faults about Pylint in my code(ops) 2020-05-30 16:55:37 +08:00
liuxiao 4efd151784 add tbe op SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagradD for VM 2020-05-30 16:00:21 +08:00
zhouneng e6b9432aca add register for Atan AtanGrad Atanh 2020-05-30 15:08:28 +08:00
mindspore-ci-bot bbc64b8873 !1528 support vm for BesselI0e and BesselI1e
Merge pull request !1528 from jiangjinsheng/vm_bessel
2020-05-30 11:30:22 +08:00
mindspore-ci-bot 692f38ded2 !1532 clean pylint warning in test dir
Merge pull request !1532 from jinyaohui/pylint1
2020-05-30 10:13:45 +08:00
jinyaohui 86d197dfeb clean pylint 2020-05-29 23:00:00 +08:00
zhouneng 65b0f8d1b3 为算子进行VM流程对接 2020-05-29 16:45:14 +08:00
jiangjinsheng c3f681f0cf vm for BesselI0e and BesselI1e 2020-05-29 16:04:27 +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 39c1966593 !1488 add vm ops: Asin, AsinGrad, Asinh, AsinhGrad
Merge pull request !1488 from fangzehua/fzh_edit
2020-05-28 17:12:01 +08:00
mindspore-ci-bot 19ce0c372a !1257 Implicit type conversion
Merge pull request !1257 from candanzg/implicit_type_conversion2
2020-05-28 17:05:56 +08:00
mindspore-ci-bot 1a4abefa9a !1385 support for multi nest switch
Merge pull request !1385 from amongo/SupportMultiSwitch
2020-05-28 16:21:10 +08:00
fangzehua c0b8a90105 add vm ops: asin asinh asingrad asinhgrad 2020-05-28 14:58:23 +08:00
lihongkang a36880f0ef add vms for reducealld etc. 2020-05-28 11:00:02 +08:00
liuwenhao4 a7ad0d0a49 Fixing some tiny faults about Pylint in my code(ops) 2020-05-28 09:52:42 +08:00
mindspore-ci-bot 77547cdfc0 !1530 support tensor set item the number value type is similar as tensor dtype
Merge pull request !1530 from zhangbuxue/support_tensor_getitem_number_value_type_similar_as_tensor_dtype
2020-05-27 21:29:24 +08:00
mindspore-ci-bot df347785c3 !1508 add op BitwiseAnd BitwiseOr BitwiseXor vm
Merge pull request !1508 from zhaozhenlong/op/bitwise-and-or-xor
2020-05-27 20:05:23 +08:00
candanzg 2429da19fb implicit type conversion
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-05-27 20:04:52 +08:00
buxue d226a23b65 support tensor set item the number value type is similar as tensor dtype not same 2020-05-27 18:08:10 +08:00
zhaozhenlong 6fa2813945 add op BitwiseAnd BitwiseOr BitwiseXor 2020-05-27 16:00:25 +08:00
mindspore-ci-bot ad279e90fd !1407 support mixed tensor index for tensor get item and set item and support in operator.
Merge pull request !1407 from zhangbuxue/support_mixed_tensor_for_tensor_get_item_and_tensor_set_item
2020-05-27 14:49:21 +08:00
mindspore-ci-bot 5b9c145ff8 !1383 keep different attributes for cnode evaluation
Merge pull request !1383 from amongo/KeepPrimAttrInCNode
2020-05-27 13:02:34 +08:00
buxue 7ae289a197 Support mixed tensor for tensor getitem or setitem. 2020-05-27 11:19:51 +08:00
jiangjinsheng a45dfca142 support BatchToSpaceND and SpaceToBatchND 2020-05-27 09:13:12 +08:00
huangdongrun 334d038008 add support for multi switch
resolve review
2020-05-26 21:20:29 +08:00
huangdongrun 1159f2b11e add prim infer attr cache
modify infer to get abstract value and attr value map together

support get attr in specialize

clone primitive when specialize if attribute is not the same with
infered attribute
2020-05-26 16:19:58 +08:00
zhaozhenlong 55d1927534 add op scatter add vm 2020-05-26 12:17:23 +08:00
liuwenhao4 f3f0cbaeee Fixing some tiny faults about Pylint in my code(ops) 2020-05-25 21:27:45 +08:00