def __init__(self, emb_en, emb_zh):
    super(AMRE, self).__init__()
    self.encoder = CNNEncoder(len(emb_en), emb_en, len(emb_zh), emb_zh).cuda()
    self.enRE = MonoRE().cuda()
    self.zhRE = MonoRE().cuda()
def __init__(self, emb_en, emb_zh):
    super(AMRE, self).__init__()
    self.encoder = CNNEncoder(len(emb_en), emb_en, len(emb_zh), emb_zh).cuda()
    self.enRE = MonoRE().cuda()
    self.zhRE = MonoRE().cuda()