You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/03/21 19:57:08 UTC

[GitHub] [incubator-mxnet] nswamy commented on a change in pull request #14372: [WIP] Memory fixes. Resolves #10867, and resolves #14080

nswamy commented on a change in pull request #14372: [WIP] Memory fixes. Resolves #10867, and resolves #14080
URL: https://github.com/apache/incubator-mxnet/pull/14372#discussion_r267931988
 
 

 ##########
 File path: scala-package/core/src/main/scala/org/apache/mxnet/ResourceScope.scala
 ##########
 @@ -179,6 +175,16 @@ object ResourceScope {
     }
   }
 
+  private[mxnet] def usingIfScopeExists[A](scope: Option[ResourceScope])(body: => A): A = {
 
 Review comment:
   why do you need this new method?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services