import torch


def init_model(model_path: str):
    """
    Loads PyTorch neural net located at <model_path>, and sets the model to
    evaluation mode.

    :param model_path: Global path to PyTorch model.
    :return: Module
    """
    model = torch.load(model_path, map_location=torch.device('cpu'))
    model.eval()
    return model