class_docstr: Operator that ensures an RNNCell runs on a particular device.
class_docstr_tok: ["Operator","that","ensures","an","RNNCell","runs","on","a","particular","device","."]
code: def __init__(
      self, *args, **kwargs
  ):  # pylint: disable=useless-super-delegation
      super(DeviceWrapper, self).__init__(*args, **kwargs)
  
imports: from tensorflow.python.keras.layers import recurrent
  from tensorflow.python.keras.layers.legacy_rnn import rnn_cell_wrapper_impl
  from tensorflow.python.keras.utils import tf_inspect
  from tensorflow.python.util.deprecation import deprecated
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 to create a new DeviceWrapper object from inherited base classes: rnn_cell_wrapper_impl, _RNNCellWrapperV2 with example: obj = DeviceWrapper()