MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _CTCLossV2Grad

Function _CTCLossV2Grad

tensorflow/python/ops/ctc_ops.py:239–249  ·  view source on GitHub ↗

The derivative provided by CTC Loss V2. Args: op: the CTCLossV2 op. grad_loss: The backprop for cost. Returns: The CTC Loss V2 gradient.

(op, grad_loss, _)

Source from the content-addressed store, hash-verified

237# pylint: disable=unused-argument
238@ops.RegisterGradient("CTCLossV2")
239def _CTCLossV2Grad(op, grad_loss, _):
240 """The derivative provided by CTC Loss V2.
241
242 Args:
243 op: the CTCLossV2 op.
244 grad_loss: The backprop for cost.
245
246 Returns:
247 The CTC Loss V2 gradient.
248 """
249 return _CTCLossGradImpl(op, grad_loss, _)
250
251@tf_export("nn.ctc_greedy_decoder")
252def ctc_greedy_decoder(inputs, sequence_length, merge_repeated=True):

Callers

nothing calls this directly

Calls 1

_CTCLossGradImplFunction · 0.85

Tested by

no test coverage detected