nsl.configs.AdvRegConfig

View source on GitHub

Contains configuration for adversarial regularization.

multiplier multiplier to adversarial regularization loss. Default set to 0.2.
adv_neighbor_config an nsl.configs.AdvNeighborConfig object for generating adversarial neighbor examples.

Methods

__eq__

Return self==value.

__ge__

Automatically created by attrs.

__gt__

Automatically created by attrs.

__le__

Automatically created by attrs.

__lt__

Automatically created by attrs.

__ne__

Check equality and either forward a NotImplemented or return the result negated.