code: def get_dataset(name, base_dir=None):
      """Imports the given dataset and returns an instance of it."""
      lib = importlib.import_module(
          "..datasets.%s.dataset" % name, __name__
      )
      return lib.get_dataset(base_dir)
  
imports: import importlib
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: get_dataset(name, base_dir) and returns: lib