import torch


def RMSELoss(pred, target):
    """
    Torch implementation of RMSE loss function.
    
    Args:
        pred (torch): torch model prediction
        target (torch): torch model label
        
    """
    return torch.sqrt(torch.mean((pred - target)**2))