The work I am doing is here
https://github.com/nswamy/incubator-mxnet/blob/using-handle/scala-package/core/src/main/scala/org/apache/mxnet/NativeResource.scala
https://github.com/nswamy/incubator-mxnet/blob/using-handle/scala-package/core/src/main/scala/org/apache/mxnet/ResourceScope.scala
https://github.com/nswamy/incubator-mxnet/blob/using-handle/scala-package/core/src/main/scala/org/apache/mxnet/NDArray.scala#L566-L570

Do you think it makes sense to wait for these changes to get merged ? but i'll 
be fine if you want give this interim solution to users, however suggest to 
mark it experimental so you have the flexibility to modify.

I am adding the NativeResource class so all the MXNet Objects that have native 
Resources can extend be automatically taken taken care of. NativeResource also 
implements AutoCloseable - is that something that Clojure can see?


[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12447 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to