message: Use device_util.resolve instead of device_util.canonicalize for handling device in OneDeviceStrategy.
  device_util.resolve doesn't override the device setting from parent `tf.device` scope, allowing OneDeviceStrategy to run on devices with names other than localhost, and replicas with index other than 0.
diff: @@ -247,7 +247,7 @@ class OneDeviceExtended(distribute_lib.StrategyExtendedV1):
  def __init__(self, container_strategy, device):
  super(OneDeviceExtended, self).__init__(container_strategy)
  - self._device = device_util.canonicalize(device)
  + self._device = device_util.resolve(device)
  suffix_loc = self._device.rfind("/")
  self._input_device = self._device[:suffix_loc] + "/device:CPU:0"
  worker_device_pairs = [(self._input_device, [self._device])]
  