darch/modules.py
def propagate_seq(bs, i):
    """ Propagates choices in a sequence of modules.

    If the module in the current position of the sequence is specified, we can 
    initialize the next module in the sequence (if there is any), and go to 
    the next module in the chain if the initialized module becomes specified.
    
    """

    while bs[i].is_specified():
        prev_scope = bs[i].scope
        prev_out_d = bs[i].get_outdim()

        i += 1
        if i < len(bs):
            bs[i].initialize(prev_out_d, prev_scope)
        else:
            break
    return i
 Propagates choices in a sequence of modules.

    If the module in the current position of the sequence is specified, we can 
    initialize the next module in the sequence (if there is any), and go to 
    the next module in the chain if the initialized module becomes specified.
    
    
Propagates choices in a sequence of modules.
If the module in the current position of the sequence is specified, we can
initialize the next module in the sequence (if there is any), and go to
the next module in the chain if the initialized module becomes specified.
Propagates choices in a sequence of modules . If the module in the current position of the sequence is specified we can initialize the next module in the sequence ( if there is any ) and go to the next module in the chain if the initialized module becomes specified .
def propagate_seq(bs, i):
    while bs[i].is_specified():
        prev_scope = bs[i].scope
        prev_out_d = bs[i].get_outdim()
        i += 1
        if i < len(bs):
            bs[i].initialize(prev_out_d, prev_scope)
        else:
            break
    return i
def propagate_seq ( bs , i ) : while bs [ i ] . is_specified ( ) : prev_scope = bs [ i ] . scope prev_out_d = bs [ i ] . get_outdim ( ) i += 1 if i < len ( bs ) : bs [ i ] . initialize ( prev_out_d , prev_scope ) else : break return i
Propagates choices in a sequence of modules.
Propagates choices in a sequence of modules .
""" Propagates choices in a sequence of modules.

    If the module in the current position of the sequence is specified, we can 
    initialize the next module in the sequence (if there is any), and go to 
    the next module in the chain if the initialized module becomes specified.
    
    """
bs
i