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
789123c5cd
update the description of EmbeddingLookup operator and add the output of multinomial operator.
5 years ago
mindspore-ci-bot
956e0cf1dc
!10164 add LogUniformCandidateSampler input check
From: @yanzhenxiang2020
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
5 years ago
zhunaipan
f08cac4fbe
modify the comment format
5 years ago
yanzhenxiang2020
4252ce0ad3
add LogUniformCandidateSampler input check
5 years ago
yanzhenxiang2020
f5be64f97e
fix loguniform and meshgrid
5 years ago
TFbunny
5263588b2c
add int64 support to UniformCandidateSampler GPU
5 years ago
peixu_ren
16bbdc4eca
Add some examples for random ops
5 years ago
yanzhenxiang2020
d4bca2b9c3
amend randperm
amned amend randperm and add NoRepeatNGram ops for aicpu
5 years ago
mindspore-ci-bot
9d51fbfe26
!9323 Add StandardNormal for CPU
From: @yuanwei66
Reviewed-by:
Signed-off-by:
5 years ago
yuanwei66
5735bb1289
CPU operation dev:StandardNormal
5 years ago
mindspore-ci-bot
28885ea687
!9374 add LogUniformCandidateSampler and ComputeAccidentalHits op for aicpu
From: @yanzhenxiang2020
Reviewed-by:
Signed-off-by:
5 years ago
yanzhenxiang2020
3a1a9ff6dc
add LogUniformCandidateSampler and ComputeAccidentalHits op for aicpu
5 years ago
Peilin Wang
acfe9c9aab
initial commit, fixed indentation of inputs/outputs
5 years ago
zhangz0911gm
0ffec7acf9
Fixing some tiny faults in notes of classes' examples
5 years ago
mindspore-ci-bot
2370828043
!8586 fix GatherD and add Randperm for aicpu
From: @yanzhenxiang2020
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @wuxuejian
5 years ago
lihongkang
0fa0fd39bb
fix bugs
5 years ago
yanzhenxiang2020
082cb4e7fd
add Randperm/GatherDGrad and fix GatherD for aicpu
5 years ago
zengzitao
3ef0e9f053
substitute dropout by cudnnuniformreal and dropout
5 years ago
lilei
43c0092d7f
modifg_ops_note
5 years ago
mindspore-ci-bot
ac0b1aa960
!8772 Updating notes for remaining .py file in ops/nn folder
From: @zhangz0911gm
Reviewed-by:
Signed-off-by:
5 years ago
mindspore-ci-bot
0b992c077b
!8804 Prevent int64 from converting to int32 in UniformCandidateSampler
From: @TFbunny
Reviewed-by: @robingrosman
Signed-off-by:
5 years ago
TFbunny
b82d42cc56
blocking int64 from reducing percision to int32
5 years ago
mindspore-ci-bot
d4ebd7bf4a
!8718 Add labels to python files
From: @JunYuLiu
Reviewed-by:
Signed-off-by:
5 years ago
JunYuLiu
4a36c8d9bd
Add labels to python files
5 years ago
TFbunny
1b22e6d8ae
move P.UniformCandidateSampler to ops.random
5 years ago
zhangz0911gm
e0da1539b2
Updating remaining notes
5 years ago
hedongodng
a5016a0ead
fix: I24U3E, I24U50, I24U7V and I24TZT. Correct operator descriptions
5 years ago
zhangz0911gm
6fb2aa6023
Updating Notes for py files
5 years ago
mindspore-ci-bot
3fdd75dd5e
!8450 add supports to op randomcategorical on gpu
From: @yuan_shen_zhou
Reviewed-by: @c_34,@liangchenghui
Signed-off-by: @c_34,@liangchenghui
5 years ago
zhouyuanshen
048fc49aed
add support to op RandomCategorical
5 years ago
lihongkang
6731c8d1f2
fix bugs
5 years ago
lihongkang
be6786e177
fix bugs
5 years ago
buxue
346bcfa3fd
Rectify and optimize the type checking function
5 years ago
baihuawei
05dcec0583
fix multinomial
5 years ago
chenzomi
acadb694aa
[ME] delete reduant function in check_parameter
5 years ago
lihongkang
6deefb0a32
fix bugs
5 years ago
chenzomi
cabb387545
[ME] change `check_lega_float_value` to `check_is_float` and add `check_is_int`
5 years ago
chenzomi
d471d32e87
[ME] change `check_integer` to format `check_positive_int` and `check_integeter`
5 years ago
panfengfeng
2d7b93e958
fix nn & operations api comments
5 years ago
baihuawei
e0c063704c
clear warnings
5 years ago
jin-xiulang
5873614b86
Refactoring laplace random operator.
5 years ago
peixu_ren
54d38e4d13
Restrict the range of the parameters in random ops
5 years ago
buxue
c3c06514d7
perfect annotation of ops and context and support bool equal
5 years ago
simson
d0aba89ffe
enhancement of API of operations
5 years ago
simson
a8a9d53152
API comment enhancement & ckpt bug fix
5 years ago
simson
e7f3a283fc
enhance ops API comment part3
5 years ago
baihuawei
572a7c4741
fix nccl broadcast
5 years ago
baihuawei
779e27b91d
support categorical log_prob
5 years ago
peixu_ren
10f381d662
Modify the name of parameters in uniform
5 years ago