(self, filename: str)
| 131 | self.network.train() |
| 132 | |
| 133 | def save_bert(self, filename: str): |
| 134 | return torch.save(self.bert_encoder.state_dict(), filename) |
| 135 | |
| 136 | def to(self, device): |
| 137 | assert isinstance(device, torch.device) |
nothing calls this directly
no test coverage detected