code: def _compute_stats(values: List[torch.Tensor]) -> Tuple[float, float]:
      values_tensor = torch.cat(values, dim=0)
      mean = values_tensor.mean().item()
      std = values_tensor.std(dim=0).item()
      return mean, std
  
file_path: NeMo/scripts/dataset_processing/tts/compute_speaker_stats.py
imports: import argparse
  import json
  import os
  from collections import defaultdict
  from pathlib import Path
  from typing import List, Tuple
  import torch
  from tqdm import tqdm
  from nemo.collections.asr.parts.utils.manifest_utils import read_manifest
  from nemo.collections.tts.parts.utils.tts_dataset_utils import get_base_dir
  from nemo.collections.tts.torch.tts_data_types import Pitch
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling a global function with example usage: _compute_stats(values) and returns: mean,  std