espnet2.asr.state_spaces.utils.to_list
Less than 1 minute
espnet2.asr.state_spaces.utils.to_list
espnet2.asr.state_spaces.utils.to_list(x, recursive=False)
Convert an object to list.
If Sequence (e.g. list, tuple, Listconfig): just return it
Special case: If non-recursive and not a list, wrap in list