Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8cc92be

Browse files
committed
new layers, some changes to old ones
1 parent d2be1a3 commit 8cc92be

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

‎keras_sequential_ascii/main.py

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,42 @@
11
from __future__ import unicode_literals
22

33
graphics = {
4+
"InputLayer": " | ",
45
"Convolution1D": " \|/ ",
56
"Convolution2D": " \|/ ",
6-
"Activation": "|||||",
7+
"Convolution3D": " \|/ ",
8+
"Conv1D": " \|/ ",
9+
"Conv2D": " \|/ ",
10+
"Conv3D": " \|/ ",
11+
"Conv2DTranspose": " /|\ ",
12+
"SeparableConv2D": r" /|\x",
13+
"UpSampling1D": "AAAAA",
14+
"UpSampling2D": "AAAAA",
15+
"UpSampling3D": "AAAAA",
16+
"Cropping1D": " ||| ",
17+
"Cropping2D": " ||| ",
18+
"Cropping2D": " ||| ",
19+
"Activation": " f| ",
720
"Flatten": "|||||",
8-
"MaxPooling1D": "YYYYY",
9-
"MaxPooling2D": "YYYYY",
21+
"MaxPooling1D": "Y max",
22+
"MaxPooling2D": "Y max",
23+
"MaxPooling3D": "Y max",
24+
"AveragePooling1D": "Y avg",
25+
"AveragePooling2D": "Y avg",
26+
"AveragePooling3D": "Y avg",
27+
"GlobalMaxPooling1D": "Y^max",
28+
"GlobalMaxPooling2D": "Y^max",
29+
"GlobalAveragePooling1D": "Y^avg",
30+
"GlobalAveragePooling2D": "Y^avg",
1031
"Dropout": " | ||",
1132
"Dense": "XXXXX",
1233
"ZeroPadding1D": "\|||/",
1334
"ZeroPadding2D": "\|||/",
35+
"ZeroPadding3D": "\|||/",
1436
"BatchNormalization": " μ|σ ",
15-
"Embedding": "(emb)"
37+
"Reshape": " | ",
38+
"Permute": " | ",
39+
"Embedding": "emb |"
1640
}
1741

1842
def jsonize(model):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /