code: def add_tensor_configvars():
      # This flag is used when we import PyTensor to initialize global variables.
      # So changing it after import will not modify these global variables.
      # This could be done differently... but for now we simply prevent it from being
      # changed at runtime.
      config.add(
          "tensor__cmp_sloppy",
          "Relax pytensor.tensor.math._allclose (0) not at all, (1) a bit, (2) more",
          IntParam(0, _is_valid_cmp_sloppy, mutable=False),
          in_c_key=False,
      )
  
      # http://developer.amd.com/CPU/LIBRARIES/LIBM/Pages/default.aspx
      config.add(
          "lib__amblibm",
          "Use amd's amdlibm numerical library",
          BoolParam(False),
          # Added elsewhere in the c key only when needed.
          in_c_key=False,
      )
  
      config.add(
          "tensor__insert_inplace_optimizer_validate_nb",
          "-1: auto, if graph have less then 500 nodes 1, else 10",
          IntParam(-1),
          in_c_key=False,
      )
  
imports: import errno
  import logging
  import os
  import platform
  import re
  import socket
  import sys
  import textwrap
  import numpy
  from setuptools._distutils.spawn import find_executable
  import pytensor
  from pytensor.configparser import BoolParam, ConfigParam, DeviceParam, EnumStr, FloatParam, IntParam, StrParam, _create_default_config
  from pytensor.utils import LOCAL_BITWIDTH, PYTHON_INT_BITWIDTH, call_subprocess_Popen, maybe_add_to_os_environ_pathlist, output_subprocess_Popen
label_desc: Use image node_id 21 for calling a global function with example usage: add_tensor_configvars() without return types