| 19 | |
| 20 | # Sample module |
| 21 | class M(torch.nn.Module): |
| 22 | def __init__(self): |
| 23 | super().__init__() |
| 24 | |
| 25 | def forward(self, x, y): |
| 26 | y = torch.cat([x, y]) |
| 27 | return y |
| 28 | |
| 29 | # Symbolically trace an instance of `M` |
| 30 | traced = symbolic_trace(M()) |
no outgoing calls
no test coverage detected