code: def _make_mirrored_val(init_val=5.0):
      v = []
      devices = ["/device:GPU:0", "/device:CPU:0"]
      for d, _ in zip(devices, ["v", "v/replica"]):
          with ops.device(d):
              v.append(constant_op.constant(init_val))
      return values_lib.Mirrored(v)
  
imports: import os
  from absl.testing import parameterized
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.distribute import combinations
  from tensorflow.python.distribute import strategy_combinations
  from tensorflow.python.distribute import strategy_test_lib
  from tensorflow.python.distribute import test_util
  from tensorflow.python.distribute import tpu_values
  from tensorflow.python.distribute import values
  from tensorflow.python.eager import context
  from tensorflow.python.eager import test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.training import saver
label_desc: Use image node_id 2 for calling a global function with example usage: _make_mirrored_val(init_val) and returns: values_lib