code: def forward(self, logits: torch.Tensor) -> List[float]:
      # logits: B x 1, prediction: B
      prediction = logits.squeeze(dim=1)
      if self.squash_to_unit_range:
          prediction = torch.sigmoid(prediction)
      scores: List[float] = prediction.tolist()
      return scores
  
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 2 for calling the RegressionScores obj's underlying member method code with example usage: obj.forward(logits) and returns: scores