Google I/O is a wrap! Catch up on TensorFlow sessions View sessions


Creates a tff.Type from a tff.learning.Model or callable that constructs a model.

Used in the notebooks

Used in the tutorials

model A tff.learning.Model instance, or a no-arg callable that returns a model.

A tff.StructType representing the TFF type of the ModelWeights structure for model.