tff.data

Stay organized with collections Save and categorize content based on your preferences.

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.