class_docstr: Dataclass for holding the output of the policy's compute full output method
class_docstr_tok: ["Dataclass","for","holding","the","output","of","the","policy","'s","compute","full","output","method"]
docstr: The entropy of the probability distribution.
docstr_tok: ["The","entropy","of","the","probability","distribution","."]
code: def entropy(self) -> torch.Tensor:
      """The entropy of the probability distribution."""
      return self.prob_dist.entropy()
  
file_path: maze/maze/core/agent/torch_policy_output.py
imports: import dataclasses
  from typing import List, Dict, Optional
  import torch
  from maze.core.env.action_conversion import TorchActionType
  from maze.core.env.structured_env import ActorID
  from maze.distributions.dict import DictProbabilityDistribution
label_desc: Use image node_id 1 for calling the PolicySubStepOutput obj's underlying member method code with example usage: obj.entropy() and returns: self