TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tfa.seq2seq.basic_decoder

View source on GitHub

A class of Decoders that may sample to generate the next input.


class BasicDecoder: Basic sampling decoder.

class BasicDecoderOutput: BasicDecoderOutput(rnn_output, sample_id)