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

Method ComputePredictions

lingvo/tasks/mt/model.py:344–398  ·  view source on GitHub ↗

Compute the model predictions. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. batch: A `.NestedMap`. - src: A `.NestedMap`. - ids: The source ids, ends in . - paddings: The source padding

(self, theta, batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ComputePredictionsMethod · 0.45

Tested by

no test coverage detected