from scratch implement crnn using pytorch :读取训练数据
知识点:python特殊函数__call__()实现类变成一个可调用对象classPerson(object):def__init__(self,name,gender):self.name=nameself.gender=genderdef__call__(self,friend):print'Mynameis%s...'%self.nameprint'Myfriendis%s...'%frie