You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it looks like a type-level bug? My number of input channels isn't affected by the number of groups. I understand that each filter only convolves over IN_CHAN/GROUPS number of channels so the "fix" makes sense, but it seems like an implementation detail that shouldn't leak to the interface.
The text was updated successfully, but these errors were encountered:
Consider this
In other words, a depthwise convolution with a
2×2
kernel over a16×W×H
volume, expecting to produce32×W/2×H/2
volume.One would expect this to compile:
But we get the error:
Changing the code like this works and gives the correct result (checked vs tensorflow's
tf.nn.depthwise_conv2d
):But it looks like a type-level bug? My number of input channels isn't affected by the number of groups. I understand that each filter only convolves over IN_CHAN/GROUPS number of channels so the "fix" makes sense, but it seems like an implementation detail that shouldn't leak to the interface.
The text was updated successfully, but these errors were encountered: