fix float32 issue: int32 times float32 will generate float64
fix float32 issue: int32 times float32 will generate float64

DeepGnosis/keras,keras-team/keras,daviddiazvico/keras,nebw/keras,keras-team/keras,kemaswill/keras,kuza55/keras,relh/keras,dolaameng/keras