Skip to content

Commit

Permalink
add some annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
cooelf authored Jun 6, 2019
1 parent 4ba9156 commit f2e15d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ def main(datasets, U, n_epochs=20, batch_size=20, max_l=100, hidden_size=100, \
rng = np.random.RandomState(r_seed)
lsize, rsize = max_l, max_l
sessionmask = T.matrix()
lx = []
lxmask = []
lx = [] #tokens from previous turns
lxmask = [] #masks from previous turns
for i in range(max_turn):
lx.append(T.matrix())
lxmask.append(T.matrix())

index = T.lscalar()
rx = T.matrix('rx')
rxmask = T.matrix()
rx = T.matrix('rx') #tokens from response
rxmask = T.matrix() #masks from response
y = T.ivector('y')
Words = theano.shared(value=U, name="Words")
llayer0_input = []
Expand Down

0 comments on commit f2e15d6

Please sign in to comment.