Commit Graph

248 Commits

Author SHA1 Message Date
chenzhuo 5f39ebd788 support grad and value_and_grad with has_aux 2022-08-12 16:43:03 +08:00
huangxinjing 7bd91c0351 Fix warnning clear 2022-08-05 22:34:13 +08:00
yangzhenzhang 5fa63f8e46 delete auto parallel flag 2022-07-30 15:19:56 +08:00
Zhang Qinghua 8d9962d2f7 Support to use methods/attributes of Cell object in graph compiler. 2022-07-07 16:18:25 +08:00
fengyihang 1ed27daee3 delete extra check 2022-06-30 18:29:37 +08:00
i-robot 6c6d8931c3
!36329 Supply Tanhshrink activation function and test cases
Merge pull request !36329 from 冯一航/Supply_Tanhshrink
2022-06-24 01:33:32 +00:00
fengyihang 98bf50ffcf Supply Tanhshrink activation function and test cases 2022-06-23 11:34:53 +08:00
i-robot 7943638d00
!35948 Add CPU and GPU operators of ApplyAdamWithAmsgrad with dynamic shape and vmap features support
Merge pull request !35948 from OwenSec/aawag
2022-06-23 01:49:18 +00:00
i-robot 5e1b73a836
!36204 Add RReLU activation function and test cases
Merge pull request !36204 from shaojunsong/feature/RReLU2
2022-06-22 10:33:36 +00:00
OwenSec 65467272e0 add cpu and gpu operators of applyadamwithamsgrad 2022-06-22 11:33:30 +08:00
shaojunsong 260c920b3d add RReLU, in-place is not supported 2022-06-22 10:58:39 +08:00
i-robot 2919e625e3
!35699 Fix MultiHeadAttention dtype Error
Merge pull request !35699 from huangxinjing/fix_attention_dtype
2022-06-20 11:19:32 +00:00
fujianzhao 862752fdce feat: add ops.applyAdadelta CPU backend, add nn.Adadelta, ops.applyAdadelta CPU backend support vmap. 2022-06-19 08:01:14 +08:00
huangxinjing 1918f058c4 Fix linear dtype 2022-06-17 10:29:46 +08:00
i-robot f058997021
!35071 Add feature ReflectionPad1d & ReflecitonPad2d
Merge pull request !35071 from shaojunsong/feature/reflectionPad
2022-06-04 13:00:45 +00:00
shaojunsong c0b9d74987 added reflectionpad1d and 2d 2022-06-04 17:43:49 +08:00
lvyufeng ee30ffc3bf add nll_loss and cross_entropy for ops.functional and nn 2022-06-02 11:13:34 +08:00
i-robot 4f1a8b1eef
!33877 operators: Softmin, SiLU
Merge pull request !33877 from Henry Shi/branch_operators
2022-06-01 01:53:19 +00:00
Henry Shi 63bd6f035b operators:Softmin & SiLU 2022-05-29 10:42:31 +08:00
i-robot f3148dbe6e
!34842 add nn.Threshold
Merge pull request !34842 from 吕昱峰(Nate.River)/threshold
2022-05-25 09:35:33 +00:00
lvyufeng ce1f15666d add nn.Threshold 2022-05-24 15:25:48 +08:00
i-robot dd85238b91
!34579 set uni folder for ge test
Merge pull request !34579 from xiaoyao/master
2022-05-23 07:20:37 +00:00
He Wei 2d7c4334ec Support fusion_size argument for flatten_weights 2022-05-20 17:11:48 +08:00
xiao_yao1994 fbdfdb1127 "change default backend in debug graph mode and set uni folder for ge
test"
2022-05-20 09:12:03 +08:00
i-robot 20f3a911f1
!34094 Remove the context option: 'enable_sparse'.
Merge pull request !34094 from 张清华/opt
2022-05-20 00:52:05 +00: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
fujianzhao 7fcb75beaa [feat] [assistant] [ops] [I51VS2] Add new operator nn.AdaptiveMaxPool1d 2022-05-18 15:50:44 +08:00
fujianzhao cb56dd895d [feat] [assistant] [ops] [I51VS1] Add new operator nn.AdaptiveAvgPool1d 2022-05-16 16:19:24 +08:00
i-robot c07819796c
!34221 [feat] [assistant] [ops] [I51VSC] Add new operator nn.HuberLoss
Merge pull request !34221 from fujianzhao/huberloss
2022-05-13 02:57:19 +00:00
i-robot bfd377ca3c
!34125 add nn.ConstantPad1d nn.ConstantPad2d nn.ConstantPad3d and nn.ZeroPad2d
Merge pull request !34125 from ZhidanLiu/master
2022-05-13 01:53:23 +00:00
ZhidanLiu fdd6f7c759 add nn.ConstantPad1d nn.ConstantPad2d nn.ConstantPad3d and nn.ZeroPad2d 2022-05-12 10:34:52 +08:00
fujianzhao 4fd3433d23 [feat] [assistant] [ops] [I51VSC] Add new operator nn.HuberLoss 2022-05-11 15:39:02 +08:00
fujianzhao 5bb57674da [feat] [assistant] [ops] [I51VSB] Add new operator nn.Hardtanh 2022-05-11 14:23:11 +08:00
liqiliang 0fabbc4ccb Add a nn cell for softsign. 2022-05-10 17:09:33 +08:00
He Wei 8b0d4e7751 Refactor optimizers to support flatten parameters 2022-04-20 20:23:31 +08:00
He Wei 0d12199928 Enable flatten_gradients for Adam optimizer 2022-04-15 19:49:57 +08:00
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.
2022-04-07 14:11:32 +08:00
xiao_yao1994 94df0869ad uni_backend: add ut ge test 2022-03-10 16:08:36 +08:00
Margaret_wangrui 462c38813d [ME] Add parameter name check. 2022-02-14 10:07:43 +08:00
liuyang_655 15a153a40d Modify error info 2022-01-06 01:28:53 -05:00
wanyiming ab65f4ac98 addut 2021-11-26 09:48:34 +08:00
chenzhuo d07f24462c add examples of grad, jvp and vjp 2021-11-16 14:15:26 +08:00
chenzhuo f36edec3ff add function jvp 2021-11-12 08:44:41 +08:00
Zhang Qinghua b43693be23 Fix fallback and cell kwargs issues. 2021-10-27 14:06:02 +08:00
Bingya Weng be20f00299 modify ut of probability 2021-10-14 19:33:34 +08:00
huanghui ba66c0d491 add security isolate for save_graphs 2021-09-14 10:24:12 +08:00
i-robot 76fac95591 !23069 Modify error content
Merge pull request !23069 from huchunmei/master
2021-09-11 03:50:52 +00:00
huchunmei c75773cf37 Modify error content 2021-09-10 15:21:33 +08:00
yanghaoran 0ced8775c4 upgrade Ascend software package 09 Sep 21 2021-09-09 20:30:22 +08:00
huangxinjing 6cea07f749 Add args check 2021-09-08 09:12:35 +08:00