Skip to content

Commit f406f56

Browse files
committed
Matching Indent
1 parent 0961868 commit f406f56

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

keras/utils/layer_utils_test.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,30 +111,30 @@ def print_to_file(text):
111111
lines = reader.readlines()
112112
reader.close()
113113
check_str = ('Model: "model_2"\n'
114-
'_________________________________________________________________\n'
115-
' Layer (type) Output Shape Param # \n'
116-
'=================================================================\n'
117-
' input_3 (InputLayer) [(None, None, None, 3)] 0 \n'
118-
' \n'
119-
' model_1 (Functional) (None, None, None, 3) 24 \n'
120-
'|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|\n'
121-
'| input_1 (InputLayer) [(None, None, None, 3)] 0 |\n'
122-
'| |\n'
123-
'| model (Functional) (None, None, None, 3) 24 |\n'
124-
'||¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯||\n'
125-
'|| input_2 (InputLayer) [(None, None, None, 3)] 0 ||\n'
126-
'|| ||\n'
127-
'|| conv2d (Conv2D) (None, None, None, 3) 12 ||\n'
128-
'|| ||\n'
129-
'|| batch_normalization (BatchN (None, None, None, 3) 12 ||\n'
130-
'|| ormalization) ||\n'
131-
'|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|\n'
132-
'¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\n'
133-
'=================================================================\n'
134-
'Total params: 24\n'
135-
'Trainable params: 18\n'
136-
'Non-trainable params: 6\n'
137-
'_________________________________________________________________\n')
114+
'_________________________________________________________________\n'
115+
' Layer (type) Output Shape Param # \n'
116+
'=================================================================\n'
117+
' input_3 (InputLayer) [(None, None, None, 3)] 0 \n'
118+
' \n'
119+
' model_1 (Functional) (None, None, None, 3) 24 \n'
120+
'|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|\n'
121+
'| input_1 (InputLayer) [(None, None, None, 3)] 0 |\n'
122+
'| |\n'
123+
'| model (Functional) (None, None, None, 3) 24 |\n'
124+
'||¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯||\n'
125+
'|| input_2 (InputLayer) [(None, None, None, 3)] 0 ||\n'
126+
'|| ||\n'
127+
'|| conv2d (Conv2D) (None, None, None, 3) 12 ||\n'
128+
'|| ||\n'
129+
'|| batch_normalization (BatchN (None, None, None, 3) 12 ||\n'
130+
'|| ormalization) ||\n'
131+
'|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|\n'
132+
'¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\n'
133+
'=================================================================\n'
134+
'Total params: 24\n'
135+
'Trainable params: 18\n'
136+
'Non-trainable params: 6\n'
137+
'_________________________________________________________________\n')
138138

139139
fin_str = ""
140140
for line in lines:

0 commit comments

Comments
 (0)