RecordIterator
- class lib.training.tensorboard.RecordIterator(log_file, is_live: bool = False)
Bases:
objectA replacement for tensorflow’s
compat.v1.io.tf_record_iterator()- Parameters:
log_file – The event log file to obtain records from
is_live (bool) –
Trueif the log file is for a live training session that will constantly provide data. Default:False
- __next__() bytes
Get the next event log from a Tensorboard event file
- Return type:
A Tensorboard event log
- Raises:
StopIteration – When the event log is fully consumed