import torch

def get_mae(first, second):
    return torch.mean(torch.abs(first - second))

def get_sae(first, second):
    return torch.sum(torch.abs(first - second))

def get_rmse(first, second):
    return torch.sqrt(torch.mean((first - second)**2))

def get_sse(first, second):
    return torch.sum((first - second)**2)