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, _)
| 237 | # pylint: disable=unused-argument |
| 238 | @ops.RegisterGradient("CTCLossV2") |
| 239 | def _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") |
| 252 | def ctc_greedy_decoder(inputs, sequence_length, merge_repeated=True): |
nothing calls this directly
no test coverage detected