Skip to content
ml-recall

#log-prob

1 question from Policy Gradient & Actor-Critic

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Single choice

mediumAI-checkedPolicy Gradient & Actor-Critic

A diagonal Gaussian policy for a 6-dimensional action space computes logp = Normal(mu, std).log_prob(act) for a batch of 64 actions, where mu, std and act all have shape (64, 6). What do you need for the policy-gradient loss?

Choose one option