Add a NativeResource to the scope
Releases all the
org.apache.mxnet.NativeResource by calling
Check if a NativeResource is in the scope
Removes from current Scope and moves to outer scope if it exists
Resource to be moved to an outer scope
Remove NativeResource from the Scope, this uses object equality to find the resource in the stack.