(vector)
return '[ ' + ' '.join([str(val) for val in vector]) + ' ]'
Print a vector in Kaldi format.
Print a vector in Kaldi format.
Print a vector in Kaldi format .
def format_kaldi_vector(vector):
  ''' Print a vector in Kaldi format. '''
  return '[ ' + ' '.join([str(val) for val in vector]) + ' ]'
def format_kaldi_vector ( vector ) : return '[ ' + ' ' . join ( [ str ( val ) for val in vector ] ) + ' ]'