I want to modify batch norm all to group norm. So I am modifying the code, but it doesn’t work as well as I thought. Do you have any help?
Hi,
nu is a string, so you will have to use test.__getattribute__(nu) to access the attribute named as the content of nu.
1 Like



