Skip to content

Commit

Permalink
Fix render bug in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Suarez committed Nov 26, 2024
1 parent d2501f1 commit 0cdb4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ <h1>Policies</h1>
actions = cleanrl_lstm_policy.get_action_and_value(obs)[0].numpy()

obs, rewards, terminals, truncateds, infos = vecenv.step(actions)
vecenv.close()<code></pre>
vecenv.close()</code></pre>

<p>Remember the unflatten operation in Emulation? Notice our usage of <code>pufferlib.pytorch.nativize_dtype</code> and <code>pufferlib.pytorch.nativize_tensor</code> to unpack structured data in the forward pass. You only need to worry about this if your environment has structured observation data.</p>

Expand Down

0 comments on commit 0cdb4ae

Please sign in to comment.