From aabeafba546e581749a8a0261bd8f5f45f0933b9 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 1 Oct 2024 17:52:08 -0700 Subject: [PATCH] docs: clarify line about "not saving the model" (#965) * Remove line about "not saving the model" Not sure what this is but it seems counterintuitive. Feel free to reject or modify. * Update examples/SimpleRNN/main.jl --- examples/SimpleRNN/main.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SimpleRNN/main.jl b/examples/SimpleRNN/main.jl index e0ba54713..a11a2c5cb 100644 --- a/examples/SimpleRNN/main.jl +++ b/examples/SimpleRNN/main.jl @@ -174,7 +174,7 @@ nothing #hide # We can save the model using JLD2 (and any other serialization library of your choice) # Note that we transfer the model to CPU before saving. Additionally, we recommend that -# you don't save the model +# you don't save the model struct and only save the parameters and states. @save "trained_model.jld2" ps_trained st_trained