code: def mean_squared_logarithmic_error(pred:Tensor, targ:Tensor)->Rank0Tensor:
      "Mean squared logarithmic error between `pred` and `targ`."
      pred,targ = flatten_check(pred,targ)
      return F.mse_loss(torch.log(1 + pred), torch.log(1 + targ)f mean_squared_logarithmic_error(pred:Tensor, targ:Tensor)->Rank0Tensor:
      "Mean squared logarithmic error between `pred` and `targ`."
      pred,targ = flatten_check(pred,targ)
      return F.mse_loss(torch.log(1 + pred), torch.log(1 + targ))
docs: Mean squared logarithmic error between `pred` and `targ`.