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_feature_stats.py
imports: import argparse
  import json
  from collections import defaultdict
  from pathlib import Path
  from typing import List, Tuple
  import torch
  from hydra.utils import instantiate
  from omegaconf import OmegaConf
  from tqdm import tqdm
  from nemo.collections.asr.parts.utils.manifest_utils import read_manifest
label_desc: Use image node_id 2 for calling a global function with example usage: _compute_stats(values) and returns: mean,  std