View source on GitHub |
Contains configuration for adversarial regularization.
nsl.configs.AdvRegConfig(
multiplier=attr_dict['multiplier'].default,
adv_neighbor_config=attr_dict['adv_neighbor_config'].default
)
Attributes | |
---|---|
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__
__eq__(
other
)
Method generated by attrs for class AdvRegConfig.
__ge__
__ge__(
other
)
Method generated by attrs for class AdvRegConfig.
__gt__
__gt__(
other
)
Method generated by attrs for class AdvRegConfig.
__le__
__le__(
other
)
Method generated by attrs for class AdvRegConfig.
__lt__
__lt__(
other
)
Method generated by attrs for class AdvRegConfig.
__ne__
__ne__(
other
)
Method generated by attrs for class AdvRegConfig.