I’ve got a trained model and noticed that it predicts different results depends on some third side code. I tried to make a minimal example. So, it load model takes first operation called ‘_minus_scalar0’, which should subtract 127.5 from the input matrix. But it is not! If you look at the screenshot, you can see that it subtracts 127.0 only. My notes:
- If I comment line 8, the code works correctly. I don’t understand why.
- I reproduced this issue on 3 computers from 4.
So, I can provide model and input image but it is possible that it will not reproduce.
My questions:
- What symbol operation corresponds to ‘_minus_scalar’? I checked
broadcast_minus
andbroadcast_sub
, these are not_minus_scalar
operations. - How can I fix incorrect subtraction?