I am trying to use group norm as part of my CNN. But I get the following error which I believe is tied to the fact that the first dimension of the placeholder for my input images, being the batch size, is set to None. The group norm implementation involves a reshape operation that doesn't play well with this. Could you kindly suggest a workaround for this?
TypeError: Failed to convert object of type to Tensor. Contents: [None, 16, 64, 64, 12, 2]. Consider casting elements to a supported type.
Thank you for your time and effort.