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

Method ComputePredictions

lingvo/tasks/mt/decoder.py:2252–2300  ·  view source on GitHub ↗

Compute 1-step of the insertion iteration. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. encoder_outputs: This should be None. targets: A `.NestedMap`. - ids: The target ids of shape [batch_size, time_dim].

(self, theta, encoder_outputs, targets)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

EmbLookupMethod · 0.45
FPropMethod · 0.45

Tested by

no test coverage detected