I have a tensor with shape B x H x W x C
and I like to apply dilation to only H
. Do you know any way to have this small trick with tf.nn.atrous_conv2d
?
tf.nn.atrous_conv2d
没有这样的功能,但是你可以使用tf.layers.conv2d
并设置dilation_rate=(2, 1)
来达到同样的效果。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.