Solved by JuanFMontesinos in post #2 
              
              
                Simply because it makes sense. If you have 2 integers, to compute the mean you have to sum them. They are gonna overflow for sure. If they are double you can express them with more flexibility and accuracy. The only thing you could do is to cast them to int32 or int64. However neural networks does n…