def save_model(model_dir: str, model: Model, model_suffix: str) -> None:
    '\n    args:\n        model_dir: directory to save the model\n        model: model object to save\n        model_suffix: Suffix to save the model\n    '
    create_directories([model_dir])
    model_file = os.path.join(model_dir, f'{model_suffix}.h5')
    model.save(model_file)
    logging.info(f'Saved model: {model_file}')
args:
    model_dir: directory to save the model
    model: model object to save
    model_suffix: Suffix to save the model
def save_model(model_dir: str, model: Model, model_suffix: str) -> None:
    '\n    args:\n        model_dir: directory to save the model\n        model: model object to save\n        model_suffix: Suffix to save the model\n    '
    create_directories([model_dir])
    model_file = os.path.join(model_dir, f'{model_suffix}.h5')
    model.save(model_file)
    logging.info(f'Saved model: {model_file}')