code: def __init__(self, backend, device="", *args):
      super(MetricAverageCallbackImpl, self).__init__(*args)
      self.backend = backend
      self.variables = {}
      self.push_pull_ops = {}
      self.device = device
  
imports: import warnings
  import byteps.tensorflow
  import tensorflow
label_desc: Use image node_id 1 to create a new MetricAverageCallbackImpl object from inherited base classes: object with example: obj = MetricAverageCallbackImpl(backend, device)