-
Notifications
You must be signed in to change notification settings - Fork 0
/
LSTM.eps
630 lines (608 loc) · 12.8 KB
/
LSTM.eps
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: graphviz version 2.43.0 (0)
%%Title: G
%%Pages: 1
%%BoundingBox: 48 48 1095 564
%%EndComments
save
%%BeginProlog
/DotDict 200 dict def
DotDict begin
/setupLatin1 {
mark
/EncodingVector 256 array def
EncodingVector 0
ISOLatin1Encoding 0 255 getinterval putinterval
EncodingVector 45 /hyphen put
% Set up ISO Latin 1 character encoding
/starnetISO {
dup dup findfont dup length dict begin
{ 1 index /FID ne { def }{ pop pop } ifelse
} forall
/Encoding EncodingVector def
currentdict end definefont
} def
/Times-Roman starnetISO def
/Times-Italic starnetISO def
/Times-Bold starnetISO def
/Times-BoldItalic starnetISO def
/Helvetica starnetISO def
/Helvetica-Oblique starnetISO def
/Helvetica-Bold starnetISO def
/Helvetica-BoldOblique starnetISO def
/Courier starnetISO def
/Courier-Oblique starnetISO def
/Courier-Bold starnetISO def
/Courier-BoldOblique starnetISO def
cleartomark
} bind def
%%BeginResource: procset graphviz 0 0
/coord-font-family /Times-Roman def
/default-font-family /Times-Roman def
/coordfont coord-font-family findfont 8 scalefont def
/InvScaleFactor 1.0 def
/set_scale {
dup 1 exch div /InvScaleFactor exch def
scale
} bind def
% styles
/solid { [] 0 setdash } bind def
/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def
/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def
/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def
/bold { 2 setlinewidth } bind def
/filled { } bind def
/unfilled { } bind def
/rounded { } bind def
/diagonals { } bind def
/tapered { } bind def
% hooks for setting color
/nodecolor { sethsbcolor } bind def
/edgecolor { sethsbcolor } bind def
/graphcolor { sethsbcolor } bind def
/nopcolor {pop pop pop} bind def
/beginpage { % i j npages
/npages exch def
/j exch def
/i exch def
/str 10 string def
npages 1 gt {
gsave
coordfont setfont
0 0 moveto
(\() show i str cvs show (,) show j str cvs show (\)) show
grestore
} if
} bind def
/set_font {
findfont exch
scalefont setfont
} def
% draw text fitted to its expected width
/alignedtext { % width text
/text exch def
/width exch def
gsave
width 0 gt {
[] 0 setdash
text stringwidth pop width exch sub text length div 0 text ashow
} if
grestore
} def
/boxprim { % xcorner ycorner xsize ysize
4 2 roll
moveto
2 copy
exch 0 rlineto
0 exch rlineto
pop neg 0 rlineto
closepath
} bind def
/ellipse_path {
/ry exch def
/rx exch def
/y exch def
/x exch def
matrix currentmatrix
newpath
x y translate
rx ry scale
0 0 1 0 360 arc
setmatrix
} bind def
/endpage { showpage } bind def
/showpage { } def
/layercolorseq
[ % layer color sequence - darkest to lightest
[0 0 0]
[.2 .8 .8]
[.4 .8 .8]
[.6 .8 .8]
[.8 .8 .8]
]
def
/layerlen layercolorseq length def
/setlayer {/maxlayer exch def /curlayer exch def
layercolorseq curlayer 1 sub layerlen mod get
aload pop sethsbcolor
/nodecolor {nopcolor} def
/edgecolor {nopcolor} def
/graphcolor {nopcolor} def
} bind def
/onlayer { curlayer ne {invis} if } def
/onlayers {
/myupper exch def
/mylower exch def
curlayer mylower lt
curlayer myupper gt
or
{invis} if
} def
/curlayer 0 def
%%EndResource
%%EndProlog
%%BeginSetup
14 default-font-family set_font
% /arrowlength 10 def
% /arrowwidth 5 def
% make sure pdfmark is harmless for PS-interpreters other than Distiller
/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
% make '<<' and '>>' safe on PS Level 1 devices
/languagelevel where {pop languagelevel}{1} ifelse
2 lt {
userdict (<<) cvn ([) cvn load put
userdict (>>) cvn ([) cvn load put
} if
%%EndSetup
setupLatin1
%%Page: 1 1
%%PageBoundingBox: 48 48 1095 564
%%PageOrientation: Portrait
0 0 1 beginpage
gsave
48 48 1047 516 boxprim clip newpath
1.33333 1.33333 set_scale 0 rotate 40 40 translate
% 139707573875088
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 0 332.5 moveto
0 378.5 lineto
375 378.5 lineto
375 332.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
8 351.8 moveto 142 (input_1: InputLayer) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 158 332.5 moveto
158 378.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
170.5 363.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 158 355.5 moveto
226 355.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
166 340.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 226 332.5 moveto
226 378.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
234 363.3 moveto 133 ([\(None, None, 13\)]) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 226 355.5 moveto
375 355.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
234 340.3 moveto 133 ([\(None, None, 13\)]) alignedtext
grestore
% 139704493090560
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 66 249.5 moveto
66 295.5 lineto
371 295.5 lineto
371 249.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
74 268.8 moveto 83 (lstm: LSTM) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 165 249.5 moveto
165 295.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
177.5 280.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 165 272.5 moveto
233 272.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
173 257.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 233 249.5 moveto
233 295.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
241 280.3 moveto 122 (\(None, None, 13\)) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 233 272.5 moveto
371 272.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
264 257.3 moveto 76 (\(None, 32\)) alignedtext
grestore
% 139707573875088->139704493090560
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 195.9709 332.3664 moveto
199.1831 323.9731 202.9064 314.2445 206.3896 305.1434 curveto
stroke
0 0 0 edgecolor
newpath 209.7337 306.1973 moveto
210.0394 295.6068 lineto
203.1962 303.6952 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 209.7337 306.1973 moveto
210.0394 295.6068 lineto
203.1962 303.6952 lineto
closepath stroke
grestore
% 139704493089984
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 393.5 332.5 moveto
393.5 378.5 lineto
777.5 378.5 lineto
777.5 332.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
401.5 351.8 moveto 142 (input_2: InputLayer) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 551.5 332.5 moveto
551.5 378.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
564 363.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 551.5 355.5 moveto
619.5 355.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
559.5 340.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 619.5 332.5 moveto
619.5 378.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
627.5 363.3 moveto 142 ([\(None, None, 360\)]) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 619.5 355.5 moveto
777.5 355.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
627.5 340.3 moveto 142 ([\(None, None, 360\)]) alignedtext
grestore
% 139704483969968
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 404.5 249.5 moveto
404.5 295.5 lineto
734.5 295.5 lineto
734.5 249.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
412.5 268.8 moveto 99 (lstm_1: LSTM) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 519.5 249.5 moveto
519.5 295.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
532 280.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 519.5 272.5 moveto
587.5 272.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
527.5 257.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 587.5 249.5 moveto
587.5 295.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
595.5 280.3 moveto 131 (\(None, None, 360\)) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 587.5 272.5 moveto
734.5 272.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
623 257.3 moveto 76 (\(None, 32\)) alignedtext
grestore
% 139704493089984->139704483969968
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 581.1279 332.3664 moveto
579.4876 324.0624 577.5892 314.4514 575.808 305.4341 curveto
stroke
0 0 0 edgecolor
newpath 579.2384 304.739 moveto
573.8668 295.6068 lineto
572.3711 306.0956 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 579.2384 304.739 moveto
573.8668 295.6068 lineto
572.3711 306.0956 lineto
closepath stroke
grestore
% 139707573878688
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 159 166.5 moveto
159 212.5 lineto
614 212.5 lineto
614 166.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
167 185.8 moveto 185 (concatenate: Concatenate) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 360 166.5 moveto
360 212.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
372.5 197.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 360 189.5 moveto
428 189.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
368 174.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 428 166.5 moveto
428 212.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
436 197.3 moveto 170 ([\(None, 32\), \(None, 32\)]) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 428 189.5 moveto
614 189.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
483 174.3 moveto 76 (\(None, 64\)) alignedtext
grestore
% 139704493090560->139707573878688
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 264.4067 249.3664 moveto
285.1486 239.3658 309.822 227.4698 331.5414 216.9979 curveto
stroke
0 0 0 edgecolor
newpath 333.1611 220.1026 moveto
340.6488 212.6068 lineto
330.121 213.7972 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 333.1611 220.1026 moveto
340.6488 212.6068 lineto
330.121 213.7972 lineto
closepath stroke
grestore
% 139704483969968->139707573878688
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 519.4944 249.3664 moveto
496.6989 239.2765 469.544 227.2572 445.7327 216.7177 curveto
stroke
0 0 0 edgecolor
newpath 447.006 213.4539 moveto
436.4451 212.6068 lineto
444.1728 219.8549 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 447.006 213.4539 moveto
436.4451 212.6068 lineto
444.1728 219.8549 lineto
closepath stroke
grestore
% 139704280684288
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 250.5 83.5 moveto
250.5 129.5 lineto
522.5 129.5 lineto
522.5 83.5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
258.5 102.8 moveto 96 (dense: Dense) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 362.5 83.5 moveto
362.5 129.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
375 114.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 362.5 106.5 moveto
430.5 106.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
370.5 91.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 430.5 83.5 moveto
430.5 129.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
438.5 114.3 moveto 76 (\(None, 64\)) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 430.5 106.5 moveto
522.5 106.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
438.5 91.3 moveto 76 (\(None, 64\)) alignedtext
grestore
% 139707573878688->139704280684288
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 386.5 166.3664 moveto
386.5 158.1516 386.5 148.6579 386.5 139.7252 curveto
stroke
0 0 0 edgecolor
newpath 390.0001 139.6068 moveto
386.5 129.6068 lineto
383.0001 139.6069 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 390.0001 139.6068 moveto
386.5 129.6068 lineto
383.0001 139.6069 lineto
closepath stroke
grestore
% 139704280705872
gsave
1 setlinewidth
0 0 0 nodecolor
newpath 242.5 .5 moveto
242.5 46.5 lineto
530.5 46.5 lineto
530.5 .5 lineto
closepath stroke
0 0 0 nodecolor
14 /Times-Roman set_font
250.5 19.8 moveto 112 (dense_1: Dense) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 370.5 .5 moveto
370.5 46.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
383 31.3 moveto 43 (input:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 370.5 23.5 moveto
438.5 23.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
378.5 8.3 moveto 52 (output:) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 438.5 .5 moveto
438.5 46.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
446.5 31.3 moveto 76 (\(None, 64\)) alignedtext
1 setlinewidth
0 0 0 nodecolor
newpath 438.5 23.5 moveto
530.5 23.5 lineto
stroke
0 0 0 nodecolor
14 /Times-Roman set_font
451 8.3 moveto 67 (\(None, 3\)) alignedtext
grestore
% 139704280684288->139704280705872
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 386.5 83.3664 moveto
386.5 75.1516 386.5 65.6579 386.5 56.7252 curveto
stroke
0 0 0 edgecolor
newpath 390.0001 56.6068 moveto
386.5 46.6068 lineto
383.0001 56.6069 lineto
closepath fill
1 setlinewidth
solid
0 0 0 edgecolor
newpath 390.0001 56.6068 moveto
386.5 46.6068 lineto
383.0001 56.6069 lineto
closepath stroke
grestore
endpage
showpage
grestore
%%PageTrailer
%%EndPage: 1
%%Trailer
end
restore
%%EOF