code: def get_3d_input(self):
      input_shape = (2, 32, 32, 32, 4)
      x = tf.ones(input_shape)
      x = tf.unstack(x, axis=-1)
      for idx, fea in enumerate(x):
          x[idx] = tf.expand_dims(fea, axis=-1)
      x = tf.stack(x, axis=-1)
      return x
  
file_path: NiftyNet/tests/scaleblock_test.py
imports: from __future__ import absolute_import, print_function
  import unittest
  import os
  import tensorflow
  from tensorflow.contrib.layers.python.layers import regularizers
  from niftynet.network.scalenet import ScaleBlock
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 2 for calling the ScaleBlockTest obj's underlying member method code with example usage: obj.get_3d_input() and returns: x