nsl.configs.AdvTargetConfig
Stay organized with collections
Save and categorize content based on your preferences.
Contains configuration for selecting targets to be attacked.
nsl.configs.AdvTargetConfig(
target_method=nsl.configs.AdvTargetType.GROUND_TRUTH
,
random_seed=attr_dict['random_seed'].default
)
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
)
Method generated by attrs for class AdvTargetConfig.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-08-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-12 UTC."],[],[],null,["# nsl.configs.AdvTargetConfig\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/neural-structured-learning/blob/v1.4.0/neural_structured_learning/configs/configs.py#L163-L174) |\n\nContains configuration for selecting targets to be attacked. \n\n nsl.configs.AdvTargetConfig(\n target_method=../../nsl/configs/AdvTargetType#GROUND_TRUTH,\n random_seed=attr_dict['random_seed'].default\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `target_method` | type of adversarial targeting method. The value needs to be one of the enums from [`nsl.configs.AdvTargetType`](../../nsl/configs/AdvTargetType) (e.g., [`nsl.configs.AdvTargetType.LEAST`](../../nsl/configs/AdvTargetType#LEAST)). |\n| `random_seed` | a Python integer as seed in 'random_uniform' op. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n __eq__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig.\n\n### `__ge__`\n\n __ge__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig.\n\n### `__gt__`\n\n __gt__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig.\n\n### `__le__`\n\n __le__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig.\n\n### `__lt__`\n\n __lt__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig.\n\n### `__ne__`\n\n __ne__(\n other\n )\n\nMethod generated by attrs for class AdvTargetConfig."]]