class_docstr: Metaclass that ensures a private constructor for :class:`Constraint`
class_docstr_tok: ["Metaclass","that","ensures","a","private","constructor","for",":","class",":","`","Constraint","`"]
code: def __call__(cls, *args, **kwargs):
      raise TypeError(
          f"{cls.__module__}.{cls.__qualname__} has no public constructor. "
          f"Please use torch.export.dynamic_dim() to create one"
      )
  
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 _ConstraintFactory obj's underlying member method code with example usage: obj.__call__(cls) without return types