Shortcuts

mmengine.utils.list_cast

mmengine.utils.list_cast(inputs, dst_type)[源代码]

Cast elements of an iterable object into a list of some type.

A partial method of iter_cast().