code: def get_filenames(is_training: bool, data_dir: str) -> List[str]:
      """Return filenames for dataset."""
  
      _NUM_IMAGENET_TRAIN_FILES = 1024
      _NUM_IMAGENET_VAL_FILES = 128
      if is_training:
          return [
              os.path.join(data_dir, "train-%05d-of-01024" % i)
              for i in range(_NUM_IMAGENET_TRAIN_FILES)
          ]
      else:
          return [
              os.path.join(data_dir, "validation-%05d-of-00128" % i)
              for i in range(_NUM_IMAGENET_VAL_FILES)
          ]
  
file_path: BigDL/python/orca/src/bigdl/orca/data/image/tfrecord_dataset.py
imports: import os
  from bigdl.orca.data.image.imagenet_dataset import *
  from bigdl.orca.data.image.parquet_dataset import _check_arguments
  from bigdl.dllib.utils.log4Error import invalidInputError
  from typing import TYPE_CHECKING, List
label_desc: Use image node_id 3 for calling a global function with example usage: get_filenames(is_training, data_dir) and returns: unknown, unknown