(*modules)
return nn.Sequential(*modules)
Returns an nn.Sequential object using modules with None's filtered
Returns an nn.Sequential object using modules with None's filtered
Returns an nn . Sequential object using modules with None s filtered
def sequential(*modules):
    '''
    Returns an nn.Sequential object using modules with None's filtered
    '''
    modules = [module for module in modules if module is not None]
    return nn.Sequential(*modules)
def sequential ( * modules ) : modules = [ module for module in modules if module is not None ] return nn . Sequential ( * modules )