nsl.configs.AdvTargetConfig

View source on GitHub

Contains configuration for selecting targets to be attacked.

target_method type of adversarial targeting method. The value needs to be one of the enums from nsl.configs.AdvTargetType (e.g., nsl.configs.AdvTargetType.LEAST).
random_seed a Python integer as seed in 'random_uniform' op.

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.