def get_stats(self):
'''Get statistics of taking snapshots
After or during training, checkpointer holds statistics on
saving checkpoints such as average time, minimum and maximum
time. With this stats users may identify slow nodes or disk,
or know average time penalty of taking snapshot and optmize
interval to take snapshots.
'''
return self.stats.report()
评论列表
文章目录