(self, mode=True)
| 384 | return tuple(outs) |
| 385 | |
| 386 | def train(self, mode=True): |
| 387 | super(SelfPatch_ViT, self).train(mode) |
| 388 | if mode and self.norm_eval: |
| 389 | for m in self.modules(): |
| 390 | if isinstance(m, nn.LayerNorm): |
| 391 | m.eval() |
nothing calls this directly
no outgoing calls
no test coverage detected