code: def test_ESPnetDataset_rand_float(shape_file):
      dataset = IterableESPnetDataset(
          path_name_type_list=[(shape_file, "data5", "rand_float")],
          preprocess=preprocess,
      )
  
      for key, data in dataset:
          if key == "a":
              assert data["data5"].shape == (
                  100,
                  80,
              )
          if key == "b":
              assert data["data5"].shape == (
                  150,
                  80,
              )
  
imports: import h5py
  import kaldiio
  import numpy
  import pytest
  from espnet2.fileio.npy_scp import NpyScpWriter
  from espnet2.fileio.sound_scp import SoundScpWriter
  from espnet2.train.iterable_dataset import IterableESPnetDataset
label_desc: Use image node_id 11 for calling a global function with example usage: test_ESPnetDataset_rand_float(shape_file) without return types