(self, *inputs, **kwargs)
| 16 | self.model = module |
| 17 | |
| 18 | def forward(self, *inputs, **kwargs): |
| 19 | outputs = self.model(*inputs, **kwargs) |
| 20 | return outputs |
| 21 | |
| 22 | def save_pretrained(self, save_path): |
| 23 | torch.save(self.model.state_dict(), save_path) |
nothing calls this directly
no outgoing calls
no test coverage detected