class_docstr: MultiCategorical distribution for MultiDiscrete action spaces.
class_docstr_tok: ["MultiCategorical","distribution","for","MultiDiscrete","action","spaces","."]
code: def __init__(
      self,
      categoricals: List[TorchCategorical],
  ):
      super().__init__()
      self._cats = categoricals
  
imports: import gymnasium
  import numpy
  from typing import Optional, List, Mapping, Iterable, Dict
  import tree
  import abc
  from ray.rllib.models.distributions import Distribution
  from ray.rllib.utils.annotations import override, DeveloperAPI
  from ray.rllib.utils.framework import try_import_torch
  from ray.rllib.utils.typing import TensorType, Union, Tuple
label_desc: Use image node_id 1 to create a new TorchMultiCategorical object from inherited base classes: Distribution with example: obj = TorchMultiCategorical(categoricals)