(self)
| 78 | self.mask = mask |
| 79 | |
| 80 | def __enter__(self): |
| 81 | for name, module in self.model.named_modules(): |
| 82 | if isinstance(module, ActLinear): |
| 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(): |
nothing calls this directly
no outgoing calls
no test coverage detected