code: def write_ctm(self, name, filepath, frameCtmUnits):
      with open(filepath, "tw", encoding="utf-8") as f:
          for unit in frameCtmUnits:
              f.write(
                  f"{name} 1 {unit.to_ctm_str(self.time_per_frame)}\n"
              )
  
file_path: NeMo/nemo/collections/asr/data/audio_to_ctm_dataset.py
imports: import json
  import os
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Any, List, Tuple
  from nemo.collections.asr.data.audio_to_text_dataset import ASRPredictionWriter
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling the ASRCTMPredictionWriter obj's underlying member method code with example usage: obj.write_ctm(name, filepath, frameCtmUnits) without return types