Overwrite model.train with this function to make sure train/eval mode does not change anymore.
(self, mode=True)
| 50 | |
| 51 | |
| 52 | def disabled_train(self, mode=True): |
| 53 | """Overwrite model.train with this function to make sure train/eval mode |
| 54 | does not change anymore.""" |
| 55 | return self |
| 56 | |
| 57 | |
| 58 | class FrozenT5Embedder(AbstractEncoder): |
nothing calls this directly
no outgoing calls
no test coverage detected