torch_ecg.utils.list_sum

torch_ecg.utils.list_sum(lst: Sequence[list]) list[source]

Sum a sequence of lists.

Parameters:

lst (Sequence[list]) – The sequence of lists to obtain the summation.

Returns:

sum of lst, i.e. if lst = [list1, list2, ...], then l_sum = list1 + list2 + ....

Return type:

list