(network, mode="circular")
| 1784 | |
| 1785 | def test_modify_padding_mode(self): |
| 1786 | def set_pad_mode(network, mode="circular"): |
| 1787 | for _, module in network.named_modules(): |
| 1788 | if isinstance(module, torch.nn.Conv2d): |
| 1789 | module.padding_mode = mode |
| 1790 | |
| 1791 | for scheduler_cls in self.scheduler_classes: |
| 1792 | components, _, _ = self.get_dummy_components(scheduler_cls) |
nothing calls this directly
no outgoing calls
no test coverage detected