guides/training_with_built_in_methods.py/ExamplePyDataset/__getitem__
class ExamplePyDataset:    def __getitem__(self, idx):
        batch_x = self.x[idx * self.batch_size : (idx + 1) * self.batch_size]
        batch_y = self.y[idx * self.batch_size : (idx + 1) * self.batch_size]
        return batch_x, batch_y