(self)
return actions_to, actions_ad
sample
sample
sample
def sample(self):
        """
            sample
        """
        feed_dict = {'input': self.inputs_data}
        [actions_to, actions_ad] = self.fluid_executor.run(
                self.predict_program, feed=feed_dict,
                fetch_list=[self.predict_tokens, self.predict_adjvec])
        return actions_to, actions_ad
def sample ( self ) : feed_dict = { 'input' : self . inputs_data } [ actions_to , actions_ad ] = self . fluid_executor . run ( self . predict_program , feed = feed_dict , fetch_list = [ self . predict_tokens , self . predict_adjvec ] ) return actions_to , actions_ad