(self, input)
| 117 | return x |
| 118 | |
| 119 | def forward(self, input): |
| 120 | if self.mode != 'encoder': |
| 121 | input = self.forward_metric(input) |
| 122 | return input |
| 123 | elif self.mode == 'encoder': |
| 124 | input = self.encode(input) |
| 125 | return input |
| 126 | else: |
| 127 | raise ValueError('Unknown mode') |
| 128 | |
| 129 | def update_fc(self,dataloader,class_list,session): |
| 130 | for batch in dataloader: |
nothing calls this directly
no test coverage detected