ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Deserializes 'type_proto' as a computation_types.Type.

type_proto An instance of pb.Type or None.

The corresponding instance of computation_types.Type (or None if the argument was None).

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