SHARE
TWEET

Untitled

a guest Jun 20th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # mask is determined on forward pass
  2.     if mode == 'train':
  3.         dx = dout * mask
  4.     elif mode == 'test':
  5.         dx = dout
  6.     else:
  7.         raise ValueError('Invalid mode "%s" in dropout' % mode)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top