nsl.configs.AdvRegConfig
Stay organized with collections
Save and categorize content based on your preferences.
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.
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.
[null,null,["Last updated 2022-08-12 UTC."],[],[],null,["# nsl.configs.AdvRegConfig\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#L80-L91) |\n\nContains configuration for adversarial regularization. \n\n nsl.configs.AdvRegConfig(\n multiplier=attr_dict['multiplier'].default,\n adv_neighbor_config=attr_dict['adv_neighbor_config'].default\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-----------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `multiplier` | multiplier to adversarial regularization loss. Default set to 0.2. |\n| `adv_neighbor_config` | an [`nsl.configs.AdvNeighborConfig`](../../nsl/configs/AdvNeighborConfig) object for generating adversarial neighbor examples. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n __eq__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig.\n\n### `__ge__`\n\n __ge__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig.\n\n### `__gt__`\n\n __gt__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig.\n\n### `__le__`\n\n __le__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig.\n\n### `__lt__`\n\n __lt__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig.\n\n### `__ne__`\n\n __ne__(\n other\n )\n\nMethod generated by attrs for class AdvRegConfig."]]