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

Method SampleTargetSequences

lingvo/core/base_decoder.py:438–458  ·  view source on GitHub ↗

Performs target sequence sampling. Args: theta: A NestedMap object containing weights' values of this layer and its children layers. encoder_outputs: a NestedMap computed by encoder. random_seed: a scalar int32 tensor representing the random seed. Returns: A

(self, theta, encoder_outputs, random_seed)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

SampleMethod · 0.45