This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix sparse-slicer leak.
tags/v1.0.0
ZPaC
5 years ago
parent
4dddee575d
commit
b0b3cd61bf
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
mindspore/ccsrc/frontend/parallel/ps/worker_proxy.h
+ 5
- 0
mindspore/ccsrc/frontend/parallel/ps/worker_proxy.h
View File
@@ -502,6 +502,11 @@ void WorkerProxy<T>::SparseSlicer(int timestamp, const ::ps::KVPairs<T> &send, c
kvs.lens = reduced_lens;
kvs.vals = reduced_data;
delete[] src_grad_data;
delete[] src_indice_data;
delete[] new_grad;
delete[] new_indices;
}
if (indices_size <= 0) {
Write
Preview
Loading…
Cancel
Save