code: def test_train_infer(self):
      self._train()
      self._infer()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os, sys, unittest
  import tensorflow
  from niftynet.utilities.download import download
  from niftynet.utilities.niftynet_global_config import NiftyNetGlobalConfig
  from niftynet import main
  from niftynet.application.base_application import SingletonApplication
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 2 for calling the AutoContextMRCTModelZooTest obj's underlying member method code with example usage: obj.test_train_infer() without return types