面向对象特性、使用面向对象编程的场合 成员,尤其是成员变量,可以保存实例调用时的中间状态(intermediate states): It’s helpful to have everything in a class like this so that intermediate states can be saved after training and then loaded for later use.