code: def root_mean_squared_error(pred:Tensor, targ:Tensor)->Rank0Tensor:
      "Root mean squared error between `pred` and `targ`."
      pred,targ = flatten_check(pred,targ)
      return torch.sqrt(F.mse_loss(pred, targ)f root_mean_squared_error(pred:Tensor, targ:Tensor)->Rank0Tensor:
      "Root mean squared error between `pred` and `targ`."
      pred,targ = flatten_check(pred,targ)
      return torch.sqrt(F.mse_loss(pred, targ))
docs: Root mean squared error between `pred` and `targ`.