def __init__(self, eps=1., activation=None, ignore_channels=None, **kwargs): super().__init__(**kwargs) self.eps = eps self.activation = Activation(activation) self.ignore_channels = ignore_channels
def __init__(self, threshold=0.5, activation=None, ignore_channels=None, **kwargs): super().__init__(**kwargs) self.threshold = threshold self.activation = Activation(activation) self.ignore_channels = ignore_channels
def __init__(self, aux_weight=0.4, eps=1., beta=1., activation=None, ignore_channels=None, **kwargs): super().__init__(**kwargs) self.aux_weight = aux_weight self.eps = eps self.beta = beta self.activation = Activation(activation) self.ignore_channels = ignore_channels
def __init__(self, beta=1, eps=1e-7, threshold=0.5, activation=None, ignore_channels=None, **kwargs): super().__init__(**kwargs) self.eps = eps self.beta = beta self.threshold = threshold self.activation = Activation(activation) self.ignore_channels = ignore_channels