读写文件

https://zh.d2l.ai/chapter_deep-learning-computation/read-write.html