def mean_squared_error(original_img, resoluted_img):
    """
    Computing the mean squared error between original and resoluted images

    Args:
    -----
    original_img: batch of torch Tensors
        batch containing the input images
    resoluted_img: batch of torch Tensors
        batch containing the tensors at the output of the network

    Returns:
    --------
    mse: float
        mean squared error of the image
    """

    subs = original_img - resoluted_img
    mse = subs.pow(2).mean()

    return mse