提交 cae02760 编写于 作者: littletomatodonkey's avatar littletomatodonkey

add reference

上级 d1d818f5
...@@ -18,6 +18,7 @@ __all__ = ['AverageMeter'] ...@@ -18,6 +18,7 @@ __all__ = ['AverageMeter']
class AverageMeter(object): class AverageMeter(object):
""" """
Computes and stores the average and current value Computes and stores the average and current value
Code was based on https://github.com/pytorch/examples/blob/master/imagenet/main.py
""" """
def __init__(self, name='', fmt='f', postfix="", need_avg=True): def __init__(self, name='', fmt='f', postfix="", need_avg=True):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册