public class cudnnCTCGradMode extends Object
Behavior for OOB samples. OOB samples are samples where L+R > T is encountered during the gradient calculation. If gradMode is set to CUDNN_CTC_SKIP_OOB_GRADIENTS, then the CTC loss function does not write to the gradient buffer for that sample. Instead, the current values, even not finite, are retained. If gradMode is set to CUDNN_CTC_ZERO_OOB_GRADIENTS, then the gradient for that sample is set to zero. This guarantees a finite gradient.
| Modifier and Type | Field and Description |
|---|---|
static int |
CUDNN_CTC_SKIP_OOB_GRADIENTS |
static int |
CUDNN_CTC_ZERO_OOB_GRADIENTS |
| Modifier and Type | Method and Description |
|---|---|
static String |
stringFor(int n)
Returns a string representation of the given constant
|
public static final int CUDNN_CTC_ZERO_OOB_GRADIENTS
public static final int CUDNN_CTC_SKIP_OOB_GRADIENTS
public static String stringFor(int n)
Copyright © 2024. All rights reserved.