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

Function _CTCLossGrad

tensorflow/python/ops/ctc_ops.py:225–235  ·  view source on GitHub ↗

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

(op, grad_loss, _)

Source from the content-addressed store, hash-verified

223# pylint: disable=unused-argument
224@ops.RegisterGradient("CTCLoss")
225def _CTCLossGrad(op, grad_loss, _):
226 """The derivative provided by CTC Loss.
227
228 Args:
229 op: the CTCLoss op.
230 grad_loss: The backprop for cost.
231
232 Returns:
233 The CTC Loss gradient.
234 """
235 return _CTCLossGradImpl(op, grad_loss, _)
236
237# pylint: disable=unused-argument
238@ops.RegisterGradient("CTCLossV2")

Callers

nothing calls this directly

Calls 1

_CTCLossGradImplFunction · 0.85

Tested by

no test coverage detected