We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In tf_utils.py HW1, I found dropout implementation as follows,
def dropout(x, pkeep, phase=None, mask=None): mask = tf.floor(pkeep + tf.random_uniform(tf.shape(x))) if mask is None else mask if phase is None: return mask * x else: return switch(phase, mask*x, pkeep*x)
In test phase, should it be x/pkeep instead of x*pkeep(based on inverse dropout theory)? If not, why?
Thanks for your explanation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In tf_utils.py HW1, I found dropout implementation as follows,
In test phase, should it be x/pkeep instead of x*pkeep(based on inverse dropout theory)? If not, why?
Thanks for your explanation.
The text was updated successfully, but these errors were encountered: