class_docstr: Base class for generating random data for metric benchmarking 
class_docstr_tok: ["Base","class","for","generating","random","data","for","metric","benchmarking"]
code: def batch_size(self):
      return self.n
  
file_path: mxnet/benchmark/python/metric/benchmark_metric.py
imports: from __future__ import print_function
  import itertools
  import mxnet
  import sys
  import time
label_desc: Use image node_id 3 for calling the MetricDataGen obj's underlying member method code with example usage: obj.batch_size() and returns: self