Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
modify default value of hidden_size
Browse files Browse the repository at this point in the history
  • Loading branch information
gyu-don committed Oct 16, 2017
1 parent 0e8afb5 commit 6dd9790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchqrnn/qrnn.py
Expand Up @@ -35,7 +35,7 @@ def __init__(self, input_size, hidden_size=None, save_prev_x=False, zoneout=0, w
assert window in [1, 2], "This QRNN implementation currently only handles convolutional window of size 1 or size 2"
self.window = window
self.input_size = input_size
self.hidden_size = hidden_size if hidden_size else hidden_size
self.hidden_size = hidden_size if hidden_size else input_size
self.zoneout = zoneout
self.save_prev_x = save_prev_x
self.prevX = None
Expand Down

0 comments on commit 6dd9790

Please sign in to comment.