But I still think it’s not related to float precision, cause I observe from the result of reduction of none, it seems that it doesn’t cooperate the class weight info.
I still don’t know how to calculate the loss under the none correctly…