torchdms.utils.get_only_entry_from_constant_list

torchdms.utils.get_only_entry_from_constant_list(items)[source]

Assert that a list is constant and return that single value.