code: def get_index(self):
      if self.n >= len(self.order):
          np.random.shuffle(self.order)
          self.n = 0
      idx = self.order[self.n]
      self.n += 1
      return idx
  
imports: import cv2
  import functools
  import math
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.types
  import os.path
  from nvidia.dali import Pipeline, pipeline_def
  from nvidia.dali.data_node import DataNode
  from test_utils import check_batch, get_dali_extra_path, as_array
  import PIL.Image
label_desc: Use image node_id 5 for calling the random_3d_loader obj's underlying member method code with example usage: obj.get_index() and returns: idx