Yes I know that the example is the inverted case.
What I meant is that if TFHUB knows internally how to rebuild the model I was guessing if that workaround f32_model.set_weights(model.get_weights()) could work also in this case.
I’ve not tested this, It was just an hypotesis but if It works It could be similar to the cast in Mxnet:

You can also fine-tune a model, which was originally trained in float32, to use float16


  
      
      mxnet.apache.org
  
  
    

Mixed precision training using float16 1

Mixed precision training using float16