Skip to content
New issue

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

why did u add this kind of dropout in every residual block #56

Open
xiongma opened this issue Sep 4, 2019 · 1 comment
Open

why did u add this kind of dropout in every residual block #56

xiongma opened this issue Sep 4, 2019 · 1 comment

Comments

@xiongma
Copy link

xiongma commented Sep 4, 2019

def layer_dropout(inputs, residual, dropout): pred = tf.random_uniform([]) < dropout return tf.cond(pred, lambda: residual, lambda: tf.nn.dropout(inputs, 1.0 - dropout) + residual)

@xiongma
Copy link
Author

xiongma commented Sep 4, 2019

@localminimum hope you can reply this, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant