摘要:
1. 对文件读写import codecsfout = codecs.open('test.html', 'w', encoding='UTF-8')fout.write('')fout.write(''fout.close()很自然地可将其改造为 with 结构,w... 阅读全文
摘要:
1. 数据集dataset_train = gluon.data.ArrayDataset(X_train, y_train)data_iter = gluon.data.DataLoader(dataset_train, batch_size, shuffle=Tr... 阅读全文