Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from lukovnikov/develop
Browse files Browse the repository at this point in the history
🍌
  • Loading branch information
lukovnikov committed Apr 13, 2016
2 parents 3456aec + 6b154e0 commit 7eb8f26
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion teafacto/blocks/kgraph/fbencdec.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,10 @@ def __init__(self, wordembdim=50, wordencdim=100, entembdim=200, innerdim=200, o
def apply(self, inpseq, outseq):
enco = self.enc(inpseq)
deco = self.dec(enco, outseq)
return deco
return deco


class FBSeqCompositeEncMemDec(Block):
def __init__(self, wordembdim=50, wordencdim=100, entembdim=200, innerdim=200, outdim=1e4, numwords=4e5, numchars=128, glovepath=None, **kw):
super(FBSeqCompositeEncMemDec, self).__init__(**kw)

0 comments on commit 7eb8f26

Please sign in to comment.