-
Notifications
You must be signed in to change notification settings - Fork 0
/
convbbt.dio
166 lines (166 loc) · 10.6 KB
/
convbbt.dio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<mxfile host="65bd71144e">
<diagram id="BqaZCnm2y_q8n5bxMkIa" name="Page-1">
<mxGraphModel dx="287" dy="651" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="12" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="240" y="240" width="360" height="440" as="geometry"/>
</mxCell>
<mxCell id="5" value="" style="edgeStyle=none;html=1;" parent="1" source="3" target="4" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="25" value="" style="edgeStyle=none;html=1;" parent="1" source="24" target="3" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="Point-wise Convolutional Backbone" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="280" y="900" width="280" height="60" as="geometry"/>
</mxCell>
<mxCell id="26" value="" style="edgeStyle=none;html=1;exitX=0.393;exitY=0.167;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="4" target="10" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="4" value="Linear Transformation" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="280" y="740" width="280" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="7" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="710" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="Position Embedding" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="90" y="680" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="27" style="edgeStyle=none;html=1;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="670" as="sourcePoint"/>
<Array as="points">
<mxPoint x="560" y="670"/>
<mxPoint x="560" y="500"/>
</Array>
<mxPoint x="390" y="500" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="Pre Normalization" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="280" y="610" width="220" height="30" as="geometry"/>
</mxCell>
<mxCell id="16" value="Multi-Head Self Attention" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="280" y="520" width="220" height="60" as="geometry"/>
</mxCell>
<mxCell id="32" value="" style="edgeStyle=none;html=1;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="360" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="42" value="" style="edgeStyle=none;html=1;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="24" value="input" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="380" y="1000" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="44" value="" style="edgeStyle=none;html=1;" parent="1" source="16" target="35" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="35" value="Pre Normalization" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="280" y="430" width="220" height="30" as="geometry"/>
</mxCell>
<mxCell id="45" style="edgeStyle=none;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;entryX=0.458;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="36" target="46" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="335" y="185" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="36" value="MLP" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="280" y="340" width="220" height="60" as="geometry"/>
</mxCell>
<mxCell id="48" value="" style="edgeStyle=none;html=1;" parent="1" source="46" target="47" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="46" value="MLP Classifier" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="280" y="140" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="47" value="output" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="300" y="40" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="49" value="Transformer Block × L" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeWidth=5;perimeterSpacing=0;" parent="1" vertex="1">
<mxGeometry x="425" y="260" width="140" height="30" as="geometry"/>
</mxCell>
<mxCell id="57" value="" style="edgeStyle=none;html=1;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" parent="1" source="56" target="4" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="420" y="820" as="targetPoint"/>
<Array as="points">
<mxPoint x="350" y="860"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="56" value="CLS Token" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1">
<mxGeometry x="110" y="820" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="60" style="edgeStyle=none;html=1;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="480" as="sourcePoint"/>
<Array as="points">
<mxPoint x="560" y="480"/>
<mxPoint x="560" y="305"/>
</Array>
<mxPoint x="340" y="305" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="83" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="350" y="400" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="80" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="83" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="20" as="sourcePoint"/>
<mxPoint x="80" as="targetPoint"/>
<Array as="points">
<mxPoint x="80" y="20"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="81" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="83" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="30" as="sourcePoint"/>
<mxPoint x="40" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="82" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="83" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="20" as="sourcePoint"/>
<mxPoint as="targetPoint"/>
<Array as="points">
<mxPoint y="20"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="84" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="350" y="580" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="85" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="84" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="20" as="sourcePoint"/>
<mxPoint x="80" as="targetPoint"/>
<Array as="points">
<mxPoint x="80" y="20"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="86" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="84" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="30" as="sourcePoint"/>
<mxPoint x="40" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="87" value="" style="edgeStyle=none;html=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="84" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="20" as="sourcePoint"/>
<mxPoint as="targetPoint"/>
<Array as="points">
<mxPoint y="20"/>
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>