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

Method FProp

lingvo/core/rnn_layers.py:394–484  ·  view source on GitHub ↗

Compute RNN forward pass. Args: theta: A `.NestedMap` object containing weights' values of this layer and its children layers. inputs: A single tensor or a tuple of tensors with cardinality equal to rnn_cell.inputs_arity. For every input tensor, the first dimension

(self,
            theta,
            inputs,
            paddings,
            state0=None,
            segment_id=None,
            input_ids=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

zero_stateMethod · 0.45
batch_sizeMethod · 0.45
GetOutputMethod · 0.45

Tested by

no test coverage detected