(self, exc_type, exc_val, exc_tb)
| 83 | module.mask = self.mask |
| 84 | |
| 85 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 86 | for name, module in self.model.named_modules(): |
| 87 | if isinstance(module, ActLinear): |
| 88 | module.mask = None |
| 89 | |
| 90 | |
| 91 | def make_Act(model, verbose=False): |
nothing calls this directly
no outgoing calls
no test coverage detected