(self, rnnstate, input_feed, coverage)
Update decoder state
Update decoder state
Update decoder state
def update_state(self, rnnstate, input_feed, coverage):
        """ Update decoder state """
        if not isinstance(rnnstate, tuple):
            self.hidden = (rnnstate,)
        else:
            self.hidden = rnnstate
        self.input_feed = input_feed
        self.coverage = coverage
def update_state ( self , rnnstate , input_feed , coverage ) : if not isinstance ( rnnstate , tuple ) : self . hidden = ( rnnstate , ) else : self . hidden = rnnstate self . input_feed = input_feed self . coverage = coverage