(x)
| 201 | def true_fn(x): |
| 202 | return torch.sin(x) |
| 203 | def false_fn(x): |
| 204 | return torch.cos(x) |
| 205 | return torch.cond(x.sum() > 0, true_fn, false_fn, [x]) |
| 206 | |
| 207 | exported_bad1_fixed = export(Bad1Fixed(), (torch.randn(3, 3),)) |
nothing calls this directly
no outgoing calls
no test coverage detected