MCPcopy Create free account
hub / github.com/tensorflow/lingvo / SampleSequenceDecode

Method SampleSequenceDecode

lingvo/tasks/mt/decoder.py:679–694  ·  view source on GitHub ↗

Decode via sampling from softmax at each step. Args: encoder_outputs: the outputs of the encoder. Returns: BeamSearchDecodeOutput, same as what BeamSearchDecode returns.

(self, encoder_outputs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_testSampleSequenceMethod · 0.45

Calls 2

SampleTargetSequencesMethod · 0.80
_PostprocessSampleMethod · 0.80

Tested by 1

_testSampleSequenceMethod · 0.36