(y)
| 376 | return y * -1 |
| 377 | |
| 378 | def false_branch(y): |
| 379 | # NOTE: torch.cond doesn't allow aliased outputs |
| 380 | return y.clone() |
| 381 | |
| 382 | b = cond(b.sum() < 0, true_branch, false_branch, (b,)) |
| 383 | return x * b |
nothing calls this directly
no outgoing calls
no test coverage detected