code: def get_mean(
      value_sum: torch.Tensor, num_samples: torch.Tensor
  ) -> torch.Tensor:
      return value_sum / num_samples
  
file_path: torchrec/torchrec/metrics/weighted_avg.py
imports: from typing import Any, cast, Dict, List, Optional, Type
  import torch
  from torchrec.metrics.metrics_namespace import MetricName, MetricNamespace, MetricPrefix
  from torchrec.metrics.rec_metric import MetricComputationReport, RecMetric, RecMetricComputation
label_desc: Use image node_id 1 for calling a global function with example usage: get_mean(value_sum, num_samples) and returns: unknown