code: def test_multidimout(backend_default, multidimout):
      NervanaObject.be.bsz = 128
  
      fn = multidimout
      datit = HDF5Iterator(fn)
  
      max_len = datit.ndata
      MAX_CNT = max_len * datit.inp.shape[1]
      for x, t in datit:
          x_ = x.get()
          t_ = t.get()
          assert x_.shape == t_.shape
  
          x_ = x_.T % MAX_CNT
          t_ = t_.T % MAX_CNT
          assert np.all(x_ == t_[:, ::-1])
  
      datit.cleanup()
  
file_path: neon/tests/test_hdf5iterator.py
imports: import os
  import math
  import h5py
  import pytest
  import logging
  import tempfile
  import numpy
  from neon import NervanaObject
  from neon.data import HDF5Iterator, HDF5IteratorOneHot, HDF5IteratorAutoencoder
  from utils import allclose_with_out
label_desc: Use image node_id 7 for calling a global function with example usage: test_multidimout(backend_default, multidimout) without return types