Guest User

Untitled

a guest
Jan 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. weights = []
  2. for i in range(4):
  3. c_layer = CustomLayer(dense_dim=200, sequence_length=30,
  4. input_dim=400, dropout=0.5)
  5.  
  6. out1, out2, out3 = c_layer(context1, context2)
  7. weights.append(out3)
  8.  
  9. tf.contrib.layers.repeat([context1,context2],3,CustomLyaer,200,30,400,0.5)
  10.  
  11. TypeError: __init__() takes at most 5 arguments (7 given)
  12. Traceback (most recent call last):
  13. File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 291, in run
  14. self._on_run()
  15. File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 113, in _on_run
  16. pydev_log.debug(sys.exc_info()[0])
  17. AttributeError: 'NoneType' object has no attribute 'debug'
Add Comment
Please, Sign In to add comment