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

Function _GetCellGrad

lingvo/core/recurrent.py:736–805  ·  view source on GitHub ↗

Returns the gradient function for cell_fn. Args: cell_fn: The recurrent neural net's cell function. cell_grad: If not None, cell_fn's gradient function. theta: weights. A `.NestedMap`. state0: initial state. A `.NestedMap`. inputs: inputs. A `.NestedMap`. accumulator_layer

(cell_fn,
                 cell_grad,
                 theta,
                 state0,
                 inputs,
                 accumulator_layer,
                 check_stateful_ops=False,
                 allow_implicit_capture=False,
                 allowed_tensor_captures=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

RecurrentFunction · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 1

_ReflectOnCellFnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…