class_docstr: A tf.TypeSpec for `AutoCompositeTensor` objects.
class_docstr_tok: ["A","tf.TypeSpec","for","`","AutoCompositeTensor","`","objects","."]
docstr: Initializes a new `_AutoCompositeTensorTypeSpec`.
  
  Args:
    param_specs: Python `dict` of `tf.TypeSpec` instances that describe
      kwargs to the `AutoCompositeTensor`'s constructor that are `Tensor`-like
      or `CompositeTensor` subclasses.
    non_tensor_params: Python `dict` containing non-`Tensor` and non-
      `CompositeTensor` kwargs to the `AutoCompositeTensor`'s constructor.
    omit_kwargs: Python `tuple` of strings corresponding to the names of
      kwargs to the `AutoCompositeTensor`'s constructor that should be omitted
      from the `_AutoCompositeTensorTypeSpec`'s serialization, equality/
      compatibility checks, and rebuilding of the `AutoCompositeTensor` from
      `Tensor` components.
    prefer_static_value: Python `tuple` of strings corresponding to the names
      of `Tensor`-like kwargs to the `AutoCompositeTensor`s constructor that
      may be stored as static values, if known. These are typically shapes or
      axis values.
    non_identifying_kwargs: Python `tuple` of strings corresponding to the
      names of kwargs to the `AutoCompositeTensor`s constructor whose values
      are not relevant to the unique identification of the
      `_AutoCompositeTensorTypeSpec` instance. Equality/comparison checks and
      `__hash__` do not depend on these kwargs.
    callable_params: Python `dict` of callable kwargs to the
      `AutoCompositeTensor`'s constructor that do not subclass
      `CompositeTensor`, or `None`. If `callable_params` is a non-empty
      `dict`, then serialization of the `_AutoCompositeTensorTypeSpec` is not
       supported. Defaults to `None`, which is converted to an empty `dict`.
docstr_tok: ["Initializes","a","new","`","_AutoCompositeTensorTypeSpec","`",".","Args",":","param_specs",":","Python","`","dict","`","of","`","tf.TypeSpec","`","instances","that","describe","kwargs","to","the","`","AutoCompositeTensor","`","'s","constructor","that","are","`","Tensor","`","-like","or","`","CompositeTensor","`","subclasses",".","non_tensor_params",":","Python","`","dict","`","containing","non-","`","Tensor","`","and","non-","`","CompositeTensor","`","kwargs","to","the","`","AutoCompositeTensor","`","'s","constructor",".","omit_kwargs",":","Python","`","tuple","`","of","strings","corresponding","to","the","names","of","kwargs","to","the","`","AutoCompositeTensor","`","'s","constructor","that","should","be","omitted","from","the","`","_AutoCompositeTensorTypeSpec","`","'s","serialization",",","equality\/","compatibility","checks",",","and","rebuilding","of","the","`","AutoCompositeTensor","`","from","`","Tensor","`","components",".","prefer_static_value",":","Python","`","tuple","`","of","strings","corresponding","to","the","names","of","`","Tensor","`","-like","kwargs","to","the","`","AutoCompositeTensor","`","s","constructor","that","may","be","stored","as","static","values",",","if","known",".","These","are","typically","shapes","or","axis","values",".","non_identifying_kwargs",":","Python","`","tuple","`","of","strings","corresponding","to","the","names","of","kwargs","to","the","`","AutoCompositeTensor","`","s","constructor","whose","values","are","not","relevant","to","the","unique","identification","of","the","`","_AutoCompositeTensorTypeSpec","`","instance",".","Equality\/comparison","checks","and","`","__hash__","`","do","not","depend","on","these","kwargs",".","callable_params",":","Python","`","dict","`","of","callable","kwargs","to","the","`","AutoCompositeTensor","`","'s","constructor","that","do","not","subclass","`","CompositeTensor","`",",","or","`","None","`",".","If","`","callable_params","`","is","a","non-empty","`","dict","`",",","then","serialization","of","the","`","_AutoCompositeTensorTypeSpec","`","is","not","supported",".","Defaults","to","`","None","`",",","which","is","converted","to","an","empty","`","dict","`","."]
code: def __init__(
      self,
      param_specs,
      non_tensor_params,
      omit_kwargs,
      prefer_static_value,
      non_identifying_kwargs,
      callable_params=None,
  ):
      """Initializes a new `_AutoCompositeTensorTypeSpec`.
  
      Args:
        param_specs: Python `dict` of `tf.TypeSpec` instances that describe
          kwargs to the `AutoCompositeTensor`'s constructor that are `Tensor`-like
          or `CompositeTensor` subclasses.
        non_tensor_params: Python `dict` containing non-`Tensor` and non-
          `CompositeTensor` kwargs to the `AutoCompositeTensor`'s constructor.
        omit_kwargs: Python `tuple` of strings corresponding to the names of
          kwargs to the `AutoCompositeTensor`'s constructor that should be omitted
          from the `_AutoCompositeTensorTypeSpec`'s serialization, equality/
          compatibility checks, and rebuilding of the `AutoCompositeTensor` from
          `Tensor` components.
        prefer_static_value: Python `tuple` of strings corresponding to the names
          of `Tensor`-like kwargs to the `AutoCompositeTensor`s constructor that
          may be stored as static values, if known. These are typically shapes or
          axis values.
        non_identifying_kwargs: Python `tuple` of strings corresponding to the
          names of kwargs to the `AutoCompositeTensor`s constructor whose values
          are not relevant to the unique identification of the
          `_AutoCompositeTensorTypeSpec` instance. Equality/comparison checks and
          `__hash__` do not depend on these kwargs.
        callable_params: Python `dict` of callable kwargs to the
          `AutoCompositeTensor`'s constructor that do not subclass
          `CompositeTensor`, or `None`. If `callable_params` is a non-empty
          `dict`, then serialization of the `_AutoCompositeTensorTypeSpec` is not
           supported. Defaults to `None`, which is converted to an empty `dict`.
      """
      self._param_specs = param_specs
      self._non_tensor_params = non_tensor_params
      self._omit_kwargs = omit_kwargs
      self._prefer_static_value = prefer_static_value
      self._non_identifying_kwargs = non_identifying_kwargs
      self._callable_params = (
          {} if callable_params is None else callable_params
      )
  
      self._serializable = (
          _AUTO_COMPOSITE_TENSOR_VERSION,
          self._param_specs,
          self._non_tensor_params,
          self._omit_kwargs,
          self._prefer_static_value,
          self._non_identifying_kwargs,
      )
  
      def remove_kwargs(d):
          return {
              k: v
              for k, v in d.items()
              if k not in self._non_identifying_kwargs
          }
  
      self._comparable = (
          _AUTO_COMPOSITE_TENSOR_VERSION,
          remove_kwargs(self._param_specs),
          remove_kwargs(self._non_tensor_params),
          self._omit_kwargs,
          self._prefer_static_value,
          self._non_identifying_kwargs,
          tf.nest.map_structure(
              id, remove_kwargs(self._callable_params)
          ),
      )
  
imports: import contextlib
  import functools
  import threading
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.framework import type_spec_registry
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.util import variable_utils
label_desc: Use image node_id 1 to create a new _AutoCompositeTensorTypeSpec object from inherited base classes: type_spec with example: obj = _AutoCompositeTensorTypeSpec(param_specs, non_tensor_params, omit_kwargs, prefer_static_value, non_identifying_kwargs, callable_params)