code: def _get_states(
      labels: torch.Tensor,
      predictions: torch.Tensor,
      weights: torch.Tensor,
  ) -> Dict[str, torch.Tensor]:
      return {
          "predictions": predictions,
          "weights": weights,
          "labels": labels,
      }
  
imports: import unittest
  from typing import Dict, Iterable, List, Optional, Type, Union
  import torch
  from torch import no_grad
  from torchrec.metrics.auc import AUCMetric
  from torchrec.metrics.metrics_config import DefaultTaskInfo
  from torchrec.metrics.rec_metric import RecComputeMode, RecMetric, RecMetricException, RecTaskInfo
  from torchrec.metrics.test_utils import metric_test_helper, rec_metric_value_test_launcher, TestMetric
label_desc: Use image node_id 3 for calling the TestAUCMetric obj's underlying member method code with example usage: obj._get_states(labels, predictions, weights) and returns: dict