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

Method BeamSearchDecodeBiased

lingvo/core/base_decoder.py:460–479  ·  view source on GitHub ↗

Performs beam-search decoding while biasing towards provided targets. Args: encoder_outputs: a NestedMap computed by encoder. Must include `targets`, which is used to bias beam search. num_hyps_per_beam_override: If set to a value <= 0, this parameter is ignored. If

(self,
                             encoder_outputs,
                             num_hyps_per_beam_override=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)