Module: tf_agents.keras_layers.permanent_variable_rate_dropout
Stay organized with collections
Save and categorize content based on your preferences.
A keras layer that applies dropout both in training and serving.
Add the possibility to apply a variable dropout rate, that is, the rate
parameter can be a callable.
Classes
class PermanentVariableRateDropout
: Applies dropout both in training and serving, with variable dropout rate.
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 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf_agents.keras_layers.permanent_variable_rate_dropout\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/keras_layers/permanent_variable_rate_dropout.py) |\n\nA keras layer that applies dropout both in training and serving.\n\nAdd the possibility to apply a variable dropout rate, that is, the rate\nparameter can be a callable.\n\nClasses\n-------\n\n[`class PermanentVariableRateDropout`](../../tf_agents/keras_layers/permanent_variable_rate_dropout/PermanentVariableRateDropout): Applies dropout both in training and serving, with variable dropout rate."]]