Shortcuts

mmengine.utils.is_tuple_of

mmengine.utils.is_tuple_of(seq, expected_type)[source]

Check whether it is a tuple of some type.

A partial method of is_seq_of().