(self)
| 25 | self.mosaic = mosaic |
| 26 | |
| 27 | def __iter__(self): |
| 28 | self.__set_input_dim() |
| 29 | for batch in super().__iter__(): |
| 30 | yield [(self.input_dim, idx, self.mosaic) for idx in batch] |
| 31 | self.__set_input_dim() |
| 32 | |
| 33 | def __set_input_dim(self): |
| 34 | """ This function randomly changes the the input dimension of the dataset. """ |
nothing calls this directly
no test coverage detected