(input, axis=1)
| 14 | |
| 15 | |
| 16 | def l2_norm(input, axis=1): |
| 17 | norm = torch.norm(input, 2, axis, True) |
| 18 | output = torch.div(input, norm) |
| 19 | |
| 20 | return output |
| 21 | |
| 22 | |
| 23 | class SEModule(Module): |
nothing calls this directly
no outgoing calls
no test coverage detected