code: def test_no_restores(self):
      tf.reset_default_graph()
      block1 = ConvolutionalLayer(
          4,
          3,
          name="bar",
          feature_normalization=None,
          w_initializer=tf.constant_initializer(1.0),
      )
      b2 = block1(tf.ones([1.0, 5.0, 5.0, 1.0]))
      init_op = global_vars_init_or_restore()
      all_vars = tf.global_variables()
      with self.cached_session() as sess:
          sess.run(init_op)
  
          def getvar(x):
              return [v for v in all_vars if v.name == x][0]
  
          bar_w_var = getvar(block1.layer_scope().name + "/conv_/w:0")
          [bar_w] = sess.run([bar_w_var])
          self.assertAllClose(bar_w, np.ones([3, 3, 1, 4]))
  
file_path: NiftyNet/tests/restorer_test.py
imports: from __future__ import absolute_import, print_function
  import os
  import numpy
  import tensorflow
  from niftynet.engine.application_variables import RESTORABLE, global_vars_init_or_restore
  from niftynet.layer.convolution import ConvolutionalLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 3 for calling the RestorerTest obj's underlying member method code with example usage: obj.test_no_restores() and returns: unknown