code: def read_args(args):
      segments, labels = read_labels_file(args.input_label_file)
      xvec_all = dict(kaldi_io.read_vec_flt_ark(args.xvector_ark_file))
      xvectors = []
      for segment in segments:
          xvectors.append(xvec_all[segment])
      _, _, plda_psi = kaldi_io.read_plda(args.plda)
      return xvectors, segments, labels, plda_psi
  
file_path: espnet/egs/libri_css/asr1/diarization/vb_hmm_xvector.py
imports: import argparse
  import kaldi_io
  import numpy
  import VB_diarization
  from scipy.special import softmax
label_desc: Use image node_id 4 for calling a global function with example usage: read_args(args) and returns: xvectors,  segments,  labels,  plda_psi