def dropout_locations(incoming, *args, **kwargs):
 kwargs['shared_axes'] = (1,)
 return DropoutLayer(incoming, *args, **kwargs)

def dropout_locations ( incoming , * args , ** kwargs ) : kwargs [ 'shared_axes' ] = ( 1 , ) return DropoutLayer ( incoming , * args , ** kwargs )
convenience function to drop full locations of feature maps .