(self, no_jit=False)
| 29 | |
| 30 | class SpaceToDepthModule(nn.Module): |
| 31 | def __init__(self, no_jit=False): |
| 32 | super().__init__() |
| 33 | if not no_jit: |
| 34 | self.op = SpaceToDepthJit() |
| 35 | else: |
| 36 | self.op = SpaceToDepth() |
| 37 | |
| 38 | def forward(self, x): |
| 39 | return self.op(x) |
nothing calls this directly
no test coverage detected