Open
Description
I am trying to convert a tensorflow model with depthwise_conv2d
operation to onnx.
However, if the input has dynamic dimensions such as tf.placeholder(tf.float32, [1, None, None, 3], name='input')
, tf2onnx will report error input channel must be positive.
I have also tried to specify the width and height of input, tf2onnx can succefully convert the model. It seems like that k_input_channels corresponds to the channels dimension of input. But I do not know why k_input_channels would be -1 for the input with dynamic dimensions.
I do not know whether the depthwise convolution does not support dynamic input currently or I have missed something.