class_docstr: Maintaining a global application instance.
class_docstr_tok: ["Maintaining","a","global","application","instance","."]
docstr: Remove the instance.
  :return:
docstr_tok: ["Remove","the","instance",".",":","return",":"]
code: def clear(mcs):
      """
      Remove the instance.
      :return:
      """
      global APP_INSTANCE
      APP_INSTANCE = None
  
imports: import os
  from argparse import Namespace
  import tensorflow
  from six import with_metaclass
  from niftynet.engine.signal import TRAIN, INFER, EVAL
label_desc: Use image node_id 2 for calling the SingletonApplication obj's underlying member method code with example usage: obj.clear(mcs) without return types