(x)
| 130 | def testGradientFloat16(self): |
| 131 | |
| 132 | def grad(x): |
| 133 | with backprop.GradientTape() as tape: |
| 134 | tape.watch(x) |
| 135 | y = nn_ops.l2_loss(nn_ops.relu(x)) |
| 136 | return tape.gradient(y, x) |
| 137 | |
| 138 | def f(): |
| 139 | with test_util.use_gpu(): |
no test coverage detected