class_docstr: Metaclass for :func:`Dim` types.
class_docstr_tok: ["Metaclass","for",":","func",":","`","Dim","`","types","."]
code: def readable(name, min_, max_):
      if min_ == 2:
          min_ = None
      if max_ == sys.maxsize - 1:
          max_ = None
      if min_ is None and max_ is None:
          return f"Dim('{name}')"
      if min_ is None:
          return f"Dim('{name}', max={max_})"
      if max_ is None:
          return f"Dim('{name}', min={min_})"
      return f"Dim('{name}', min={min_}, max={max_})"
  
imports: import builtins
  import dataclasses
  import inspect
  import math
  import sys
  import weakref
  from collections import defaultdict
  from typing import Any, Callable, Dict, List, Optional, Tuple, TYPE_CHECKING, Union
  import torch
  from torch._subclasses.fake_tensor import FakeTensor
  from .exported_program import ExportedProgram
label_desc: Use image node_id 1 for calling the _Dim obj's underlying member method code with example usage: obj.readable(name, min_, max_) and returns: str, name, str, min_, str, max_, str, str, name, str, str, name, str, max_, str, str, name, str, min_, str