(self, cell, output_size)
Create a cell with output projection.

    Args:
      cell: an RNNCell, a projection to output_size is added to it.
      output_size: integer, the size of the output after projection.

    Raises:
      TypeError: if cell is not an RNNCell.
      ValueError: if output_size is not positive.
Create a cell with output projection.
Create a cell with output projection .
def __init__(self, cell, output_size):
    """Create a cell with output projection.

    Args:
      cell: an RNNCell, a projection to output_size is added to it.
      output_size: integer, the size of the output after projection.

    Raises:
      TypeError: if cell is not an RNNCell.
      ValueError: if output_size is not positive.
    """
    if not isinstance(cell, RNNCell):
      raise TypeError("The parameter cell is not RNNCell.")
    if output_size < 1:
      raise ValueError("Parameter output_size must be > 0: %d." % output_size)
    self._cell = cell
    self._output_size = output_size
def __init__ ( self , cell , output_size ) : if not isinstance ( cell , RNNCell ) : raise TypeError ( "The parameter cell is not RNNCell." ) if output_size < 1 : raise ValueError ( "Parameter output_size must be > 0: %d." % output_size ) self . _cell = cell self . _output_size = output_size