Skip to content

Commit c5169f1

Browse files
committed
Add some text to actor
1 parent 8c5af64 commit c5169f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ppo/main.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,9 @@
573573
logprob (py. dist log_prob action)]
574574
{:action (tolist action) :logprob (tolist logprob)}))))
575575

576-
(def actor (Actor 3 64 1))
576+
;; We create a test multilayer perceptron with three inputs, two hidden layers of 8 units each, and one output.
577+
(def actor (Actor 3 8 1))
578+
577579
;; One can then use the network to:
578580
;;
579581
;; a. get the parameters of the distribution for a given observation.

0 commit comments

Comments
 (0)