(x)
| 59 | |
| 60 | @support_sz(2) |
| 61 | def linear(x): |
| 62 | fw, to_dtype, eps = set_framework_dependencies(x) |
| 63 | return ((x + 1) * to_dtype((-1 <= x) & (x < 0)) + (1 - x) * |
| 64 | to_dtype((0 <= x) & (x <= 1))) |
| 65 | |
| 66 | |
| 67 | @support_sz(1) |
nothing calls this directly
no test coverage detected