parameters: (self, spec)
docstring: Returns a nest of `TypeSpec`(s) describing the encoding for `spec`.
  
      Args:
        spec: The TypeSpec whose encoding should be described.
  
      Returns:
        A nest (as defined by `tf.nest) of `tf.TypeSpec`, describing the values
        that are returned by `self.encode(spec, ...)`.  All TypeSpecs in this
        nest must be batchable.
docstring_summary: Returns a nest of `TypeSpec`(s) describing the encoding for `spec`.
docstring_tokens: Returns a nest of TypeSpec ( s ) describing the encoding for spec .
function: def encoding_specs(self, spec):
      """Returns a nest of `TypeSpec`(s) describing the encoding for `spec`.
  
      Args:
        spec: The TypeSpec whose encoding should be described.
  
      Returns:
        A nest (as defined by `tf.nest) of `tf.TypeSpec`, describing the values
        that are returned by `self.encode(spec, ...)`.  All TypeSpecs in this
        nest must be batchable.
      """
      raise NotImplementedError(f"{type(self).__name__}.encoding_specs")
function_tokens: def encoding_specs ( self , spec ) : raise NotImplementedError ( f"{type(self).__name__}.encoding_specs" )