Skip to content

Commit e4273f3

Browse files
authored
Merge pull request #149 from boscotsang/patch-3
fix MeanPool3d str format bug
2 parents 1b6a798 + 9961661 commit e4273f3

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
@@ -2038,7 +2038,7 @@ def MeanPool3d(net, filter_size, strides, padding='valid', data_format='channels
20382038
data_format : A string. The ordering of the dimensions in the inputs. channels_last (default) and channels_first are supported. channels_last corresponds to inputs with shape (batch, depth, height, width, channels) while channels_first corresponds to inputs with shape (batch, channels, depth, height, width).
20392039
name : A string, the name of the layer.
20402040
"""
2041-
print(" [TL] MeanPool3d %s: filter_size:%s strides:%s padding:%s name:%s" %
2041+
print(" [TL] MeanPool3d %s: filter_size:%s strides:%s padding:%s" %
20422042
(name, str(filter_size), str(strides), str(padding)))
20432043
outputs = tf.layers.average_pooling3d(net.outputs, filter_size, strides, padding=padding, data_format=data_format, name=name)
20442044

0 commit comments

Comments
 (0)