I am working on a project for which I am referring a network which has been built in Pytorch. One of its layer has conv2d layer with group = some value. While I am building the project in Tensorflow . How do I do this particular layer considering I didn't find any group parameter in the conv2d layer of tensorflow. I searched online but couldn't find anything concrete like what group says is it is a per-channel convolution. The close thing I found was tf.nn.separable_conv2d but still not sure how to set the arguments in it.
The Pytorch layer is conv2d(input ,weight , groups = x )
where input and weight are 4d tensors. Could anyone help out how I create this layer in Tensorflow.