code: def concatenate_horizontally(images):
      images = np.asarray(images)
      return images.transpose((1, 0, 2, 3)).reshape(
          (
              1,
              images.shape[1],
              images.shape[0] * images.shape[2],
              images.shape[3],
          )
      )
  
file_path: lucid/lucid/scratch/rl_util/util.py
imports: import numpy
  import tensorflow
  import scipy.ndimage
  import lucid.optvis.render
  from lucid.misc.io.collapse_channels import hue_to_rgb
label_desc: Use image node_id 4 for calling a global function with example usage: concatenate_horizontally(images) and returns: images