docs: @Override
      public MemoryWorkspace notifyScopeEntered() {
          parentWorkspace = Nd4j.getMemoryManager().getCurrentWorkspace();
  
          Nd4j.getMemoryManager().setCurrentWorkspace(null);
          return this;
      }