Skip to content

Commit 89453a7

Browse files
add copycnn module ,require to be implemented
1 parent 0fd5719 commit 89453a7

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

deep_keyphrase/copy_cnn/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- coding: UTF-8 -*-

deep_keyphrase/copy_cnn/model.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: UTF-8 -*-
2+
import torch.nn as nn
3+
4+
5+
class CopyCnnModel(nn.Module):
6+
def __init__(self):
7+
super().__init__()
8+
9+
def forward(self):
10+
pass
11+
12+
13+
class CopyCnnEncoder(nn.Module):
14+
def __init__(self):
15+
super().__init__()
16+
17+
18+
class CopyCnnDecoder(nn.Module):
19+
def __init__(self):
20+
super().__init__()

deep_keyphrase/copy_cnn/train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- coding: UTF-8 -*-

0 commit comments

Comments
 (0)