class_docstr: Base class for cells wrappers V2 compatibility.
  
  This class along with `rnn_cell_impl._RNNCellWrapperV1` allows to define
  wrappers that are compatible with V1 and V2, and defines helper methods for
  this purpose.
class_docstr_tok: ["Base","class","for","cells","wrappers","V2","compatibility",".","This","class","along","with","`","rnn_cell_impl._RNNCellWrapperV1","`","allows","to","define","wrappers","that","are","compatible","with","V1","and","V2",",","and","defines","helper","methods","for","this","purpose","."]
docstr: Runs the RNN cell step computation.
  
  When `call` is being used, we assume that the wrapper object has been built,
  and therefore the wrapped cells has been built via its `build` method and
  its `call` method can be used directly.
  
  This allows to use the wrapped cell and the non-wrapped cell equivalently
  when using `call` and `build`.
  
  Args:
    inputs: A tensor with wrapped cell's input.
    state: A tensor or tuple of tensors with wrapped cell's state.
    **kwargs: Additional arguments passed to the wrapped cell's `call`.
  
  Returns:
    A pair containing:
  
    - Output: A tensor with cell's output.
    - New state: A tensor or tuple of tensors with new wrapped cell's state.
docstr_tok: ["Runs","the","RNN","cell","step","computation",".","When","`","call","`","is","being","used",",","we","assume","that","the","wrapper","object","has","been","built",",","and","therefore","the","wrapped","cells","has","been","built","via","its","`","build","`","method","and","its","`","call","`","method","can","be","used","directly",".","This","allows","to","use","the","wrapped","cell","and","the","non-wrapped","cell","equivalently","when","using","`","call","`","and","`","build","`",".","Args",":","inputs",":","A","tensor","with","wrapped","cell","'s","input",".","state",":","A","tensor","or","tuple","of","tensors","with","wrapped","cell","'s","state",".","*","*","kwargs",":","Additional","arguments","passed","to","the","wrapped","cell","'s","`","call","`",".","Returns",":","A","pair","containing",":","-","Output",":","A","tensor","with","cell","'s","output",".","-","New","state",":","A","tensor","or","tuple","of","tensors","with","new","wrapped","cell","'s","state","."]
code: def call(self, inputs, state, **kwargs):
      """Runs the RNN cell step computation.
  
      When `call` is being used, we assume that the wrapper object has been built,
      and therefore the wrapped cells has been built via its `build` method and
      its `call` method can be used directly.
  
      This allows to use the wrapped cell and the non-wrapped cell equivalently
      when using `call` and `build`.
  
      Args:
        inputs: A tensor with wrapped cell's input.
        state: A tensor or tuple of tensors with wrapped cell's state.
        **kwargs: Additional arguments passed to the wrapped cell's `call`.
  
      Returns:
        A pair containing:
  
        - Output: A tensor with cell's output.
        - New state: A tensor or tuple of tensors with new wrapped cell's state.
      """
      return self._call_wrapped_cell(
          inputs, state, cell_call_fn=self.cell.call, **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 2 for calling the _RNNCellWrapperV2 obj's underlying member method code with example usage: obj.call(inputs, state) and returns: self