Use the numeric gradient checker for unary math gradient tests.
- Port CWiseUnaryGradTest to use ComputeGradientError. - Move test values away from any poles or discontinuities in the gradient to reduce numeric estimation errors. - Consolidate CWiseUnaryComplexGradTest and CWiseUnaryGradTest. PiperOrigin-RevId: 168619288
Loading
Please sign in to comment