(model_object,
                         framework_name: str,
                         base_dir: str)
return dest
Save the model into target destination

    :param model_object: the model object
    :param framework_name: name of the framework of the model
    :param base_dir: the base directory to save the model file

    :return: local file/folder path
Save the model into target destination
Save the model into target destination
def save_converted_model(model_object,
                         framework_name: str,
                         base_dir: str):
    """Save the model into target destination

    :param model_object: the model object
    :param framework_name: name of the framework of the model
    :param base_dir: the base directory to save the model file

    :return: local file/folder path
    """
    save, _, dest_filename = _get_model_saver_loader(framework_name)
    dest = os.path.join(base_dir, dest_filename)
    save(model_object, dest)
    LOGGER.info(f"Saved {framework_name} model to {dest}")
    return dest
def save_converted_model ( model_object , framework_name : str , base_dir : str ) : save , _ , dest_filename = _get_model_saver_loader ( framework_name ) dest = os . path . join ( base_dir , dest_filename ) save ( model_object , dest ) LOGGER . info ( f"Saved {framework_name} model to {dest}" ) return dest