class_docstr: Wrapper to convert ``const_inputs`` to a tuple.
class_docstr_tok: ["Wrapper","to","convert","``","const_inputs","``","to","a","tuple","."]
code: def __call__(cls, const_inputs, arg):
      if isinstance(const_inputs, dict):
          const_inputs = tuple(const_inputs.items())
      return super(ConstantMeta, cls).__call__(const_inputs, arg)
  
file_path: funsor/funsor/constant.py
imports: from collections import OrderedDict
  from functools import reduce
  import funsor.ops
  from funsor.tensor import Tensor
  from funsor.terms import Binary, Funsor, FunsorMeta, Number, Reduce, Unary, Variable, eager
label_desc: Use image node_id 1 for calling the ConstantMeta obj's underlying member method code with example usage: obj.__call__(cls, const_inputs, arg) and returns: super