code: def make_single_param_type(type_constraint):
      return function_type.FunctionType(
          [
              function_type.Parameter(
                  "x",
                  function_type.Parameter.POSITIONAL_ONLY,
                  False,
                  type_constraint,
              )
          ]
      )
  
imports: import dataclasses
  import itertools
  import timeit
  from typing import Any, Optional
  from tensorflow.core.function import trace_type
  from tensorflow.core.function.polymorphism import function_cache
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
  from tensorflow.python.types import trace
label_desc: Use image node_id 1 for calling a global function with example usage: make_single_param_type(type_constraint) and returns: function_type