Issue: Calling Model.predict
in graph mode is not supported when the Model
instance was constructed with eager mode enabled
How to Fix:
model = Sequential()
model.call = tf.function(model.call)
Issue: Calling Model.predict
in graph mode is not supported when the Model
instance was constructed with eager mode enabled
How to Fix:
model = Sequential()
model.call = tf.function(model.call)