Convenience function for accessing the flush_mode property.
A SharedModel
The SharedModelFlushMode used by the model