SIGN IN SIGN UP
apache / mxnet UNCLAIMED

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

0 0 19 C++

Tidy up storage allocation and deallocation (#14480)

* free memory when dptr is not nullptr

* skip memory allocation when handle size is 0

* update comments

* update Alloc in naive storage manager

* address comments

* add unit test for size 0 allocation
Y
Yuxi Hu committed
645c778b22ce9e2c7fdaa89b5a0128a6bd937ff2
Parent: 09daf22
Committed by Anirudh Subramanian <anirudh2290@apache.org> on 3/28/2019, 2:40:30 AM