model_name = "lstm_model.net" with open(model_name, 'wb') as f: torch. Save (model. State_dict(), f) # keep the model parameters, ...
確定! 回上一頁