class_docstr: Specification of how to bind arguments to a function.
  
  Deprecated. Please use FunctionType instead.
class_docstr_tok: ["Specification","of","how","to","bind","arguments","to","a","function",".","Deprecated",".","Please","use","FunctionType","instead","."]
docstr: Constructs a FunctionSpec describing a python function.
  
  Args:
    function_type: A FunctionType describing the python function signature.
    default_values: Dictionary mapping parameter names to default values.
    is_pure: if True all input arguments (including variables and constants)
      will be converted to tensors and no variable changes allowed.
    name: Name of the function
    jit_compile: see `tf.function`.
docstr_tok: ["Constructs","a","FunctionSpec","describing","a","python","function",".","Args",":","function_type",":","A","FunctionType","describing","the","python","function","signature",".","default_values",":","Dictionary","mapping","parameter","names","to","default","values",".","is_pure",":","if","True","all","input","arguments","(","including","variables","and","constants",")","will","be","converted","to","tensors","and","no","variable","changes","allowed",".","name",":","Name","of","the","function","jit_compile",":","see","`","tf.function","`","."]
code: def __init__(
      self,
      function_type,
      default_values,
      is_pure=False,
      name=None,
      jit_compile=None,
  ):
      """Constructs a FunctionSpec describing a python function.
  
      Args:
        function_type: A FunctionType describing the python function signature.
        default_values: Dictionary mapping parameter names to default values.
        is_pure: if True all input arguments (including variables and constants)
          will be converted to tensors and no variable changes allowed.
        name: Name of the function
        jit_compile: see `tf.function`.
      """
      self._function_type = function_type
      self._default_values = default_values
      self._fullargspec = to_fullargspec(function_type, default_values)
      self._is_pure = is_pure
      self._jit_compile = jit_compile
  
      # TODO(edloper): Include name when serializing for SavedModel?
      self._name = name or "f"
      self._input_signature = to_input_signature(function_type)
  
imports: import functools
  import inspect
  from typing import Any, Dict, Tuple
  import six
  from tensorflow.core.function import trace_type
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 3 to create a new FunctionSpec object from inherited base classes: object with example: obj = FunctionSpec(function_type, default_values, is_pure, name, jit_compile)