(self, inputs, state, scope=None)
return output, new_state
Run the cell with the declared dropouts.
Run the cell with the declared dropouts.
Run the cell with the declared dropouts .
def __call__(self, inputs, state, scope=None):
    """Run the cell with the declared dropouts."""
    if (not isinstance(self._input_keep_prob, float) or
        self._input_keep_prob < 1):
      inputs = nn_ops.dropout(inputs, self._input_keep_prob, seed=self._seed)
    output, new_state = self._cell(inputs, state, scope)
    if (not isinstance(self._output_keep_prob, float) or
        self._output_keep_prob < 1):
      output = nn_ops.dropout(output, self._output_keep_prob, seed=self._seed)
    return output, new_state
def __call__ ( self , inputs , state , scope = None ) : if ( not isinstance ( self . _input_keep_prob , float ) or self . _input_keep_prob < 1 ) : inputs = nn_ops . dropout ( inputs , self . _input_keep_prob , seed = self . _seed ) output , new_state = self . _cell ( inputs , state , scope ) if ( not isinstance ( self . _output_keep_prob , float ) or self . _output_keep_prob < 1 ) : output = nn_ops . dropout ( output , self . _output_keep_prob , seed = self . _seed ) return output , new_state