(m, x, y)
| 138 | |
| 139 | |
| 140 | def count_relu(m, x, y): |
| 141 | x = x[0] |
| 142 | nelements = x.numel() |
| 143 | total_ops = nelements |
| 144 | |
| 145 | m.total_ops = torch.Tensor([int(total_ops)]) |
| 146 | |
| 147 | |
| 148 | def count_softmax(m, x, y): |
nothing calls this directly
no outgoing calls
no test coverage detected