code: def __init__(self, squash_to_unit_range: bool):
      super().__init__()
      self.squash_to_unit_range = torch.jit.Attribute(
          squash_to_unit_range, bool
      )
  
imports: from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  from pytext.config.component import create_loss
  from pytext.loss import MAELoss, MSELoss
  from pytext.utils.usage import log_class_usage
  from .output_layer_base import OutputLayerBase
label_desc: Use image node_id 1 to create a new RegressionScores object from inherited base classes: torch.jit with example: obj = RegressionScores(squash_to_unit_range)