code: def constrainer(support):
      """Determines a constraining transformation into the given support."""
      if support.startswith("SCALAR_"):
          return _scalar_constrainer(support)
      if support.startswith("VECTOR_"):
          return _vector_constrainer(support)
      if support.startswith("MATRIX_"):
          return _matrix_constrainer(support)
      raise NotImplementedError(support)
  
imports: import contextlib
  import os
  import re
  import traceback
  import unittest
  import hypothesis
  from hypothesis.extra import numpy
  import hypothesis.strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.util.deferred_tensor import DeferredTensor
label_desc: Use image node_id 16 for calling a global function with example usage: constrainer(support) and returns: _scalar_constrainer, _vector_constrainer, _matrix_constrainer