C1W2 'History' object has no attribute 'tf'

Now getting error:
AttributeError: ‘History’ object has no attribute 'tf
Not sure what I need to do
Please assist

using this code:

history = model.fit(x_train, y_train, epochs=10, callbacks=[callbacks]).tf.keras.callbacks.History
return history.epoch, history.history[‘acc’][-1]

END CODE HERE

return history.epoch, history.history[‘acc’][-1]

The return value of model.fit is a history object.

this is wrong code you don’t have to type this, just delete it and it will run.