@property
def num_batches_per_phase(self):
    'Returns number of batches in current phase iterator'
    return len(self.data_iterator)
Returns number of batches in current phase iterator
@property
def num_batches_per_phase(self):
    
    return len(self.data_iterator)