Commit 8570d494 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

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
parent 75b061cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment