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

Method ComputePredictions

lingvo/tasks/mt/decoder.py:1759–1782  ·  view source on GitHub ↗

Decodes `targets` given encoded source. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. encoder_outputs: a NestedMap computed by encoder. Expected to contain: encoded - source encoding, of shape [time, batch, dept

(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 1

_FPropMethod · 0.95

Tested by

no test coverage detected