nsl.configs.DecayConfig
Stay organized with collections
Save and categorize content based on your preferences.
Contains configuration for decaying a value during training.
nsl.configs.DecayConfig(
decay_steps,
decay_rate=attr_dict['decay_rate'].default,
min_value=attr_dict['min_value'].default,
decay_type=nsl.configs.DecayType.EXPONENTIAL_DECAY
)
Attributes |
decay_steps
|
A scalar int32 or int64 Tensor or a Python number that
specifies the decay frequency, specied in units of training steps. Must be
positive.
|
decay_rate
|
A scalar float32 or float64 Tensor or a Python number.
Defaults to 0.96.
|
min_value
|
minimal acceptable value after applying decay. Defaults to 0.0.
|
decay_type
|
Type of decay function to apply. Defaults to
nsl.configs.DecayType.EXPONENTIAL_DECAY .
|
Methods
__eq__
__eq__(
other
)
Method generated by attrs for class DecayConfig.
__ge__
__ge__(
other
)
Method generated by attrs for class DecayConfig.
__gt__
__gt__(
other
)
Method generated by attrs for class DecayConfig.
__le__
__le__(
other
)
Method generated by attrs for class DecayConfig.
__lt__
__lt__(
other
)
Method generated by attrs for class DecayConfig.
__ne__
__ne__(
other
)
Method generated by attrs for class DecayConfig.
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "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."],[],[]]