class_docstr: Strategy extension that support both single and multi worker strategy.
code: def worker_devices(self):
      # Note that in either single worker (MirroredStrategy) or multi worker (
      # MultiWorkerMirroredStrategy), worker_devices refers to the local worker
      # devices.
      return tuple(self._mesh.local_devices())
  
imports: import functools
  from tensorflow.dtensor.python import api
  from tensorflow.dtensor.python import config
  from tensorflow.dtensor.python import d_variable
  from tensorflow.dtensor.python import input_util
  from tensorflow.dtensor.python import layout
  from tensorflow.python.data.experimental.ops import distribute
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.distribute import distribute_utils
  from tensorflow.python.distribute.experimental import dtensor_util
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 5 for calling the DTensorStrategyExtended obj's underlying member method code with example usage: obj.worker_devices() and returns: tuple