He Wei
723543eb5d
Modify Optimizer to support flatten parameters
1. Provide method to create Parameter from Tensor without copy;
2. Adapt optimizer.py to support flattened parameters;
3. Add unit test cases for parameter and optimizer.
3 years ago
xiao_yao1994
94df0869ad
uni_backend: add ut ge test
4 years ago
Margaret_wangrui
462c38813d
[ME] Add parameter name check.
4 years ago
liuyang_655
15a153a40d
Modify error info
4 years ago
wanyiming
ab65f4ac98
addut
4 years ago
chenzhuo
d07f24462c
add examples of grad, jvp and vjp
4 years ago
chenzhuo
f36edec3ff
add function jvp
4 years ago
Zhang Qinghua
b43693be23
Fix fallback and cell kwargs issues.
4 years ago
Bingya Weng
be20f00299
modify ut of probability
4 years ago
huanghui
ba66c0d491
add security isolate for save_graphs
4 years ago
i-robot
76fac95591
!23069 Modify error content
Merge pull request !23069 from huchunmei/master
4 years ago
huchunmei
c75773cf37
Modify error content
4 years ago
yanghaoran
0ced8775c4
upgrade Ascend software package 09 Sep 21
4 years ago
huangxinjing
6cea07f749
Add args check
4 years ago
yao_yf
82889ec56b
fixed sparse attention
4 years ago
i-robot
ff2e34b9f9
!22509 Add ut and st for Jvp, Vjp and Grad
Merge pull request !22509 from LiangZhibo/fix
4 years ago
Zhang Qinghua
a137fa1d0b
Optimize the Executors routines.
- Fix the key generating.
- Distinguish the executors.
4 years ago
l00591931
98fad9f08e
Add st and ut for jvp vjp and grad
4 years ago
zhihenghu
ce12c02343
Add Sparse Attention
adjut the file structure and name
Deleted extra information
Do some formatting work
Add test case and fix some document
fix imports
4 years ago
huangxinjing
62496d75f3
less the interface exposed
4 years ago
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
4 years ago
djc
4e6f7dc97d
[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset
4 years ago
huangxinjing
d777742904
1. Move the class to mindspore.parallel, support activation sharding
4 years ago
huangxinjing
18044aff0f
1. Add docstring, elimitate attention mask, tuple append the deocoder return layer past
split attention inputs from two into three
Add input check and modify test case
Fix check error and add check to transformer inputs
add input check to the transformers
4 years ago
i-robot
2650aae9ba
!21351 complex support
Merge pull request !21351 from zhouyaqiang0/complex_support
4 years ago
zhouyaqiang
b81ba100b7
add complex number support
4 years ago
jiangzhenguang
a3bb780ce4
optimize run memory
4 years ago
huangxinjing
615d1a179d
Add transformer layer
4 years ago
huangbingjian
ad8f73f32b
set default context mode to GRAPH_MODE
4 years ago
huanghui
29f632613f
optimize log
4 years ago
huanghui
5acf3c8ade
[dfx]optimize exception info print
4 years ago
wangnan39@huawei.com
2761776699
add check for optimizer parameters
4 years ago
jiaqi
cdb7330818
diceloss bug
5 years ago
Zhang Qinghua
df866f7248
Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
5 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
5 years ago
Jiaqi
112b8488c5
add rmse loss
5 years ago
Jiaqi
fd1a4726b7
add focal loss
5 years ago
Jiaqi
952e245000
add multclass diceloss
5 years ago
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)
```
5 years ago
wangshuide2020
30f99f2722
add raises description for BCELoss, ReLU, BatchNorm1d, etc. operators.
5 years ago
Jiaqi
804ef79c18
modify dice and diceloss
5 years ago
mindspore-ci-bot
775d71f9c1
!11408 Update PP example
From: @zichun_ye
Reviewed-by: @wang_zi_dong,@sunnybeike
Signed-off-by:
5 years ago
Zichun Ye
ca316f4422
update doc example in probability
fix typo in probability module
fix pylint in msp
5 years ago
Jiaqi
87ecd44f67
develop dice loss
5 years ago
lilei
b858097ae4
modify MetaTensor and Tensor
5 years ago
huangxinjing
dd0da1542d
Add input check
5 years ago
buxue
aeeef7607a
remove the 'raise' in construct of Cell
5 years ago
l00591931
130c61cfc0
change name from interpolate to resizeBilinear
5 years ago
wangnan39@huawei.com
0fe9e2e4cb
support import dynamic_lr from nn
5 years ago
mindspore-ci-bot
231fccf66c
!9600 Add Adagrad Optimizer
From: @zyx5256
Reviewed-by: @liangchenghui,@kingxian
Signed-off-by: @liangchenghui
5 years ago