@ Override public MemoryWorkspace notifyScopeEntered ( ) { parentWorkspace = Nd4j . getMemoryManager ( ) . getCurrentWorkspace ( ) ; Nd4j . getMemoryManager ( ) . setCurrentWorkspace ( null ) ; return this ; }
This method notifies given Workspace that new use cycle is starting now