Yes, I have modified my first reply. When I rerun the code with reduction of none in the same seed, it output the same result with loss from first iteration to the last iteration.
In fact, when I guessed from the result of reduciton of none, it seems that it doesn’t fully cooperate the class weight info.