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

Method _InitDecoder

lingvo/tasks/mt/decoder.py:847–898  ·  view source on GitHub ↗

Returns initial decoder states. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. encoder_outputs: a NestedMap computed by encoder. num_hyps: Scalar Tensor of type int, Number of hypothesis maintained in be

(self, theta, encoder_outputs, num_hyps)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 4

zero_stateMethod · 0.45
InitForSourcePackedMethod · 0.45
ZeroAttentionStateMethod · 0.45

Tested by

no test coverage detected