(*args, **kwargs)
return compose(
        DarknetConv2D(*args, **no_bias_kwargs),
        BatchNormalization(),
        LeakyReLU(alpha=0.1))
Darknet Convolution2D followed by BatchNormalization and LeakyReLU.
Darknet Convolution2D followed by BatchNormalization and LeakyReLU.
Darknet Convolution2D followed by BatchNormalization and LeakyReLU .
def DarknetConv2D_BN_Leaky(*args, **kwargs):
    """Darknet Convolution2D followed by BatchNormalization and LeakyReLU."""
    no_bias_kwargs = {'use_bias': False}
    no_bias_kwargs.update(kwargs)
    return compose(
        DarknetConv2D(*args, **no_bias_kwargs),
        BatchNormalization(),
        LeakyReLU(alpha=0.1))
def DarknetConv2D_BN_Leaky ( * args , * * kwargs ) : no_bias_kwargs = { 'use_bias' : False } no_bias_kwargs . update ( kwargs ) return compose ( DarknetConv2D ( * args , * * no_bias_kwargs ) , BatchNormalization ( ) , LeakyReLU ( alpha = 0.1 ) )