(*args, **kwargs)
return _DarknetConv2D(*args, **darknet_conv_kwargs)
Wrapper to set Darknet weight regularizer for Convolution2D.
Wrapper to set Darknet weight regularizer for Convolution2D.
Wrapper to set Darknet weight regularizer for Convolution2D .
def DarknetConv2D(*args, **kwargs):
    """Wrapper to set Darknet weight regularizer for Convolution2D."""
    darknet_conv_kwargs = {'kernel_regularizer': l2(5e-4)}
    darknet_conv_kwargs.update(kwargs)
    return _DarknetConv2D(*args, **darknet_conv_kwargs)
def DarknetConv2D ( * args , * * kwargs ) : darknet_conv_kwargs = { 'kernel_regularizer' : l2 ( 5e-4 ) } darknet_conv_kwargs . update ( kwargs ) return _DarknetConv2D ( * args , * * darknet_conv_kwargs )