code: def _convert_logits_to_ps(self, dist_params):
      if "logits" in dist_params:
          logits = torch.tensor(dist_params.pop("logits"))
          is_multidimensional = (
              self.get_test_distribution_name()
              not in [
                  "Bernoulli",
                  "Geometric",
              ]
          )
          probs = logits_to_probs(
              logits, is_binary=not is_multidimensional
          )
          dist_params["probs"] = list(probs.detach().cpu().numpy())
      return dist_params
  
imports: import math
  import numpy
  import torch
  from torch.distributions.utils import logits_to_probs
  from pyro.distributions.util import broadcast_shape
label_desc: Use image node_id 10 for calling the Fixture obj's underlying member method code with example usage: obj._convert_logits_to_ps(dist_params) and returns: dist_params