code: def test_from_latest_file_initialisation(self):
      test_driver = get_initialised_driver(-1, False)
      expected_init = np.array(
          [
              [
                  -0.03544217,
                  0.0228963,
                  -0.04585603,
                  0.16923568,
                  -0.51635778,
                  0.60694504,
                  0.01968583,
                  -0.6252712,
                  0.28622296,
                  -0.29527491,
                  0.61191976,
                  0.27878678,
                  -0.07661559,
                  -0.41357407,
                  0.70488983,
                  -0.10836645,
                  0.06488426,
                  0.0746650,
                  -0.188567,
                  -0.64652514,
              ]
          ],
          dtype=np.float32,
      )
      graph = test_driver.create_graph(test_driver.app, 1, True)
      with self.cached_session(graph=graph) as sess:
          test_tensor = graph.get_tensor_by_name(
              "G/conv_bn_selu/conv_/w:0"
          )
          with self.assertRaisesRegexp(
              tf.errors.FailedPreconditionError, "uninitialized value"
          ):
              _ = sess.run(test_tensor)
          ModelRestorer(**vars(test_driver)).restore_model(None)
          after_init = sess.run(test_tensor)
          self.assertAllClose(after_init[0], expected_init)
          _ = sess.run(tf.global_variables())
  
imports: from __future__ import absolute_import, print_function
  import os
  import uuid
  import numpy
  import tensorflow
  from niftynet.engine.application_driver import ApplicationDriver
  from niftynet.engine.application_variables import global_vars_init_or_restore
  from niftynet.engine.handler_model import ModelRestorer
  from niftynet.io.misc_io import set_logger
  from niftynet.utilities.util_common import ParserNamespace
  from niftynet.engine.signal import SESS_FINISHED, SESS_STARTED
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 8 for calling the ApplicationDriverTest obj's underlying member method code with example usage: obj.test_from_latest_file_initialisation() without return types