code: def get_num_partitions(self):
      return self.rdd.getNumPartitions()
  
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 6 for calling the TFDataDataset2 obj's underlying member method code with example usage: obj.get_num_partitions() and returns: self