When I'm going to save my model after training im not able to save it

model = model.save(“model.h5”)

AttributeError: ‘NoneType’ object has no attribute ‘save’