class_docstr: MSELoss.
  
  Args:
      reduction (str, optional): The method that reduces the loss to a
          scalar. Options are "none", "mean" and "sum".
      loss_weight (float, optional): The weight of the loss. Defaults to 1.0
code: def __init__(
      self, reduction: str = "mean", loss_weight: float = 1.0
  ) -> None:
      super().__init__()
      self.reduction = reduction
      self.loss_weight = loss_weight
  
file_path: mmdetection/mmdet/models/losses/mse_loss.py
imports: from typing import Optional
  import torch.nn
  import torch.nn.functional
  from torch import Tensor
  from mmdet.registry import MODELS
  from .utils import weighted_loss
label_desc: Use image node_id 1 to create a new MSELoss object from inherited base classes: nn with example: obj = MSELoss(reduction, loss_weight)