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 __init__(self, n, c, pred_ctx, label_ctx):
      self.n = n
      self.c = c
      self.pred_ctx = pred_ctx
      self.label_ctx = label_ctx
  
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 1 to create a new MetricDataGen object from inherited base classes: object with example: obj = MetricDataGen(n, c, pred_ctx, label_ctx)