Overwrite model.train with this function to make sure train/eval mode does not change anymore.
(self, mode=True)
| 92 | |
| 93 | |
| 94 | def disabled_train(self, mode=True): |
| 95 | """Overwrite model.train with this function to make sure train/eval mode |
| 96 | does not change anymore.""" |
| 97 | return self |
| 98 | |
| 99 | |
| 100 | def get_string_from_tuple(s): |
nothing calls this directly
no outgoing calls
no test coverage detected