Solved by nima_rafiee in post #3 
              
              
                Thanks for your reply.  yes, they should be independent but as I’m implementing conditional instance norm, the weight and bias for each sample should be calculated from another sample as the condition.  that is why I want to know if the F.group_norm()  can handle weight and bias with size [bs, num_c…