@property
def where(self):
    'Returns the proportion of training that has completed. If in test\n        only mode, returns proportion of testing completed\n\n        Returned value is a float in the range [0, 1)\n        '
    current_step = (self.num_updates / self.get_global_batchsize())
    num_phases = (self.get_total_test_phases() if self.test_only else self.get_total_training_phases())
    if (self.num_batches_per_phase <= 0):
        raise RuntimeError('No batches to read. Is the dataset empty?')
    num_steps = (num_phases * self.num_batches_per_phase)
    where = (current_step / num_steps)
    return where
Returns the proportion of training that has completed. If in test
only mode, returns proportion of testing completed

Returned value is a float in the range [0, 1)
@property
def where(self):
    'Returns the proportion of training that has completed. If in test\n        only mode, returns proportion of testing completed\n\n        Returned value is a float in the range [0, 1)\n        '
    current_step = (self.num_updates / self.get_global_batchsize())
    num_phases = (self.get_total_test_phases() if self.test_only else self.get_total_training_phases())
    if (self.num_batches_per_phase <= 0):
        raise RuntimeError('No batches to read. Is the dataset empty?')
    num_steps = (num_phases * self.num_batches_per_phase)
    where = (current_step / num_steps)
    return where