(self, device)
| 143 | return loss_logs |
| 144 | |
| 145 | def to(self, device): |
| 146 | if self.opt.is_train: |
| 147 | self.mse_criterion.to(device) |
| 148 | self.encoder = self.encoder.to(device) |
| 149 | |
| 150 | def train_mode(self): |
| 151 | self.encoder.train() |
no outgoing calls
no test coverage detected