code: def get_3d_input2(self, as_tensor=True):
      one_channel = self.get_3d_input1(as_tensor=as_tensor)
      if as_tensor:
          return tf.concat([one_channel, 100 + one_channel], 4)
      return np.concatenate([one_channel, 100 + one_channel], 4)
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import tensorflow
  import tensorflow.test
  from niftynet.contrib.layer.resampler_optional_niftyreg import ResamplerOptionalNiftyRegLayer
  from tests.niftynet_testcase import NiftyNetTestCase
  import niftynet.contrib.layer.resampler_optional_niftyreg
label_desc: Use image node_id 3 for calling the ResamplerTest obj's underlying member method code with example usage: obj.get_3d_input2(as_tensor) and returns: np, tf