I think `size` with an initial value 0 can be problematic in sampling` ind = np.random.randint(0, self.size, size=batch_size)`. What do you think?
I think
sizewith an initial value 0 can be problematic in samplingind = np.random.randint(0, self.size, size=batch_size). What do you think?