Overwrite model.train with this function to make sure train/eval mode does not change anymore.
(self, mode=True)
| 100 | |
| 101 | |
| 102 | def disabled_train(self, mode=True): |
| 103 | """Overwrite model.train with this function to make sure train/eval mode |
| 104 | does not change anymore.""" |
| 105 | return self |
| 106 | |
| 107 | |
| 108 | def get_string_from_tuple(s): |
nothing calls this directly
no outgoing calls
no test coverage detected