DRv2 / Model /AttDes /models /AttDes.py
Zhonathon's picture
update all file v1
aa7fb02
raw
history blame
273 Bytes
import torch
import torch.nn as nn
import torch.nn.functional as F
from pytorch_pretrained_bert.modeling import BertModel
class AttDes(nn.Module):
def __init__(self, args):
super(AttDes, self).__init__()
hidden_dim = args.AD_hidden_dim