We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4db0b1 commit d92e084Copy full SHA for d92e084
tensorflow_addons/image/filters.py
@@ -107,7 +107,7 @@ def mean_filter2d(image,
107
# has the value of 1 for each element.
108
area = tf.constant(
109
filter_shape[0] * filter_shape[1], dtype=image.dtype)
110
- filter_shape = filter_shape + (tf.shape(image)[-1], 1)
+ filter_shape += (tf.shape(image)[-1], 1)
111
kernel = tf.ones(shape=filter_shape, dtype=image.dtype)
112
113
output = tf.nn.depthwise_conv2d(
0 commit comments