code: def choose_shuffled_order(
      self,
  ):  # Note: Images and labels must be added in shuffled order.
      order = np.arange(self.expected_images)
      np.random.RandomState(123).shuffle(order)
      return order
  
imports: import os
  import sys
  import glob
  import argparse
  import threading
  import six.moves.queue
  import traceback
  import numpy
  import tensorflow
  import PIL.Image
  import dnnlib.tflib
  from training import dataset
label_desc: Use image node_id 3 for calling the TFRecordExporter obj's underlying member method code with example usage: obj.choose_shuffled_order() and returns: order