code: def __init__(self, input_dataset, map_func):
      create_pre_dataset_fn = input_dataset.create_dataset_fn
  
      def create_dataset_fn(data):
          dataset = create_pre_dataset_fn(data)
          return dataset.map(map_func)
  
      super().__init__(
          xshards=input_dataset.xshards,
          create_dataset_fn=create_dataset_fn,
      )
  
imports: import tensorflow
  from zoo.tfpark.tf_dataset import TensorMeta
  from zoo.util import nest
  from zoo import getOrCreateSparkContext, get_node_and_core_number
  from zoo.common import callZooFunc
  from zoo.feature.common import FeatureSet
  from zoo.orca.data import SparkXShards
  from zoo.tfpark import TFDataset
label_desc: Use image node_id 1 to create a new MapDataset object from inherited base classes: Dataset with example: obj = MapDataset(input_dataset, map_func)