(nfm, first=False)
return MergeSum([sidepath, mainpath])
non-strided
non-strided
non - strided
def module_s1(nfm, first=False):
    '''
    non-strided
    '''
    sidepath = Conv(**conv_params(1, nfm * 4, 1, False, False)) if first else SkipNode()
    mainpath = [] if first else [BatchNorm(), Activation(Rectlin())]
    mainpath.append(Conv(**conv_params(1, nfm)))
    mainpath.append(Conv(**conv_params(3, nfm)))
    mainpath.append(Conv(**conv_params(1, nfm * 4, relu=False, batch_norm=False)))

    return MergeSum([sidepath, mainpath])
def module_s1 ( nfm , first = False ) : sidepath = Conv ( * * conv_params ( 1 , nfm * 4 , 1 , False , False ) ) if first else SkipNode ( ) mainpath = [ ] if first else [ BatchNorm ( ) , Activation ( Rectlin ( ) ) ] mainpath . append ( Conv ( * * conv_params ( 1 , nfm ) ) ) mainpath . append ( Conv ( * * conv_params ( 3 , nfm ) ) ) mainpath . append ( Conv ( * * conv_params ( 1 , nfm * 4 , relu = False , batch_norm = False ) ) ) return MergeSum ( [ sidepath , mainpath ] )