<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/neural-structured-learning/blob/v1.4.0/neural_structured_learning/configs/configs.py#L163-L174) |

Contains configuration for selecting targets to be attacked.

    nsl.configs.AdvTargetConfig(
        target_method=https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/configs/AdvTargetType#GROUND_TRUTH,
        random_seed=attr_dict['random_seed'].default
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `target_method` | type of adversarial targeting method. The value needs to be one of the enums from [`nsl.configs.AdvTargetType`](https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/configs/AdvTargetType) (e.g., [`nsl.configs.AdvTargetType.LEAST`](https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/configs/AdvTargetType#LEAST)). |
| `random_seed` | a Python integer as seed in 'random_uniform' op. |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Method generated by attrs for class AdvTargetConfig.

### `__ge__`

    __ge__(
        other
    )

Method generated by attrs for class AdvTargetConfig.

### `__gt__`

    __gt__(
        other
    )

Method generated by attrs for class AdvTargetConfig.

### `__le__`

    __le__(
        other
    )

Method generated by attrs for class AdvTargetConfig.

### `__lt__`

    __lt__(
        other
    )

Method generated by attrs for class AdvTargetConfig.

### `__ne__`

    __ne__(
        other
    )

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