Creating new subclasses of TypeSpec (outside of TensorFlow core) is not
currently supported. In particular, we may make breaking changes to the
private methods and properties defined by this base class.

Attributes:

value_type: The Python type for values that are compatible with this TypeSpec.