Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

tff.framework.serialize_type

Serializes 'type_spec' as a pb.Type.

type_spec A computation_types.Type, or None.

The corresponding instance of pb.Type, or None if the argument was None.

TypeError if the argument is of the wrong type.
NotImplementedError for type variants for which serialization is not implemented.