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

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.