class_docstr: Tests Distribution classes.
class_docstr_tok: ["Tests","Distribution","classes","."]
code: def setUpClass(cls) -> None:
      # Set seeds for deterministic tests (make sure we don't fail
      # because of "bad" sampling).
      np.random.seed(42)
      torch.manual_seed(42)
  
file_path: ray/python/ray/rllib/models/tests/test_distributions.py
imports: from copy import copy
  import numpy
  import unittest
  import math
  from ray.rllib.models.torch.torch_distributions import TorchCategorical, TorchDiagGaussian, TorchDeterministic
  from ray.rllib.utils.framework import try_import_torch
  from ray.rllib.utils.numpy import softmax, SMALL_NUMBER, LARGE_INTEGER
  from ray.rllib.utils.test_utils import check
label_desc: Use image node_id 1 for calling the TestDistributions obj's underlying member method code with example usage: obj.setUpClass(cls) without return types