class_docstr: This class implements the RecMetricComputation for AUC, i.e. Area Under the Curve.
  
  The constructor arguments are defined in RecMetricComputation.
  See the docstring of RecMetricComputation for more detail.
  Args:
      grouped_auc (bool): If True, computes AUC per group and returns average AUC across all groups.
          The `grouping_keys` is provided during state updates along with predictions, labels, weights.
          This feature is currently not enabled for `fused_update_limit`.
class_docstr_tok: ["This","class","implements","the","RecMetricComputation","for","AUC",",","i.e",".","Area","Under","the","Curve",".","The","constructor","arguments","are","defined","in","RecMetricComputation",".","See","the","docstring","of","RecMetricComputation","for","more","detail",".","Args",":","grouped_auc","(","bool",")",":","If","True",",","computes","AUC","per","group","and","returns","average","AUC","across","all","groups",".","The","`","grouping_keys","`","is","provided","during","state","updates","along","with","predictions",",","labels",",","weights",".","This","feature","is","currently","not","enabled","for","`","fused_update_limit","`","."]
code: def reset(self) -> None:
      super().reset()
      self._init_states()
  
imports: from functools import partial
  from typing import Any, cast, Dict, List, Optional, Type
  import torch
  import torch.distributed
  from torchrec.metrics.metrics_config import RecComputeMode, RecTaskInfo
  from torchrec.metrics.metrics_namespace import MetricName, MetricNamespace, MetricPrefix
  from torchrec.metrics.rec_metric import MetricComputationReport, RecMetric, RecMetricComputation, RecMetricException
label_desc: Use image node_id 5 for calling the AUCMetricComputation obj's underlying member method code with example usage: obj.reset() without return types