deepy/dataset/bunch_seq.py
def _pad_zeros(self, bunch_stack):
        """
        :type bunch_stack: list of list
        """
        min_len = min(map(len, bunch_stack))
        for i in range(len(bunch_stack)):
            bunch_stack[i] = bunch_stack[i][:min_len]
def _pad_zeros(self, bunch_stack):
        """
        :type bunch_stack: list of list
        """
        min_len = min(map(len, bunch_stack))
        for i in range(len(bunch_stack)):
            bunch_stack[i] = bunch_stack[i][:min_len]
def _pad_zeros ( self , bunch_stack ) : min_len = min ( map ( len , bunch_stack ) ) for i in range ( len ( bunch_stack ) ) : bunch_stack [ i ] = bunch_stack [ i ] [ : min_len ]
:type bunch_stack: list of list
: type bunch_stack : list of list