I use TFF 0.12.0, in this line :
model = tff.learning.ModelWeights.from_model(\'model.h5\')
I find this error:
AttributeError: