简体   繁体   中英

Apply dilation rate individually to each dimension with tf.nn.atrous_conv2d?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM