(x)
| 583 | with self.cached_session(): |
| 584 | |
| 585 | def f(x): |
| 586 | assert x.dtype == dtypes.float32 |
| 587 | with backprop.GradientTape() as tape: |
| 588 | tape.watch(x) |
| 589 | y = nn_ops.selu(x) |
| 590 | return tape.gradient(y, x) |
| 591 | |
| 592 | x = np.asarray( |
| 593 | [[-0.9, -0.7, -0.5, -0.3, -0.1], [0.1, 0.3, 0.5, 0.7, 0.9]], |
nothing calls this directly
no test coverage detected