Skip to content

Commit 6893f44

Browse files
committed
[layers] layer name hint
1 parent e837c61 commit 6893f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def __init__(
218218
):
219219
self.inputs = inputs
220220
if (name in set_keep['_layers_name_list']) and name_reuse == False:
221-
raise Exception("Layer '%s' already exists, please choice other 'name'.\
221+
raise Exception("Layer '%s' already exists, please choice other 'name' or reuse this layer\
222222
\nHint : Use different name for different 'Layer' (The name is used to control parameter sharing)" % name)
223223
else:
224224
self.name = name

0 commit comments

Comments
 (0)