- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 神经网络训练心得
import torchimport torchvisionfrom tqdm import tqdmimport matplotlibclass Net(torch.nn.Module): def __init__(self): super(Net, self).__init__() self.model = torch.nn.Sequential( # The size of the picture is 28x28 .
2021-10-24 15:46:40
141
原创 My first pythonfile-utf8解码9(附加languages.txt配套使用)
import sysscript,encoding,error=sys.argvdef main(language_file, encoding,errors): line=language_file.readline() if line: print_line(line,encoding,errors) return main(language_file,encoding, errors)def print_line(line,encoding
2021-02-10 20:47:34
591
4
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人