code: def __init__(self, num_worker_replicas, global_id_in_cluster):
      self.num_worker_replicas = num_worker_replicas
      self.global_id_in_cluster = global_id_in_cluster
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import parameterized
  from adanet.distributed.placement import ReplicationStrategy
  from adanet.distributed.placement import RoundRobinStrategy
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 to create a new WorkerConfig object from inherited base classes: object with example: obj = WorkerConfig(num_worker_replicas, global_id_in_cluster)