tff.data

Constructs a TFF data computation with the given URI and TFF type.

uri A string (str) URI of the data.
type_spec An instance of tff.Type that represents the type of this data.

A representation of the data with the given URI and TFF type in the body of a federated computation.

TypeError If the arguments are not of the types specified above.