According to How SavedModel handles custom objects, you can inherit from keras.Model and use the mode.save. The example is below
class CustomModel(keras.Model