class_docstr: Stores draws from one or more chains.
  
  Returned by methods of a ``Model``. Users will not instantiate this class directly.
  
  A `Fit` instance works like a Python dictionary. A user-friendly views of draws
  is available via ``to_frame``.
code: def __repr__(self) -> str:
      # inspired by xarray
      parts = [f"<stan.{type(self).__name__}>"]
  
      def summarize_param(param_name, dims):
          return f"    {param_name}: {tuple(dims)}"
  
      if self.param_names:
          parts.append("Parameters:")
      for param_name, dims in zip(self.param_names, self.dims):
          parts.append(summarize_param(param_name, dims))
  
      # total draws is num_draws (per-chain) times num_chains
      parts.append(
          f"Draws: {self._draws.shape[-2] * self._draws.shape[-1]}"
      )
      return "\n".join(parts)
  
file_path: pystan/stan/fit.py
imports: import collections
  import json
  from math import ceil
  from typing import Generator, Tuple, cast
  import numpy
  import simdjson
label_desc: Use image node_id 7 for calling the Fit obj's underlying member method code with example usage: obj.__repr__() and returns: str, str, param_name, str, tuple