Fix TimeDistributedMerge
Fix TimeDistributedMerge

When mode='ave', and the dtype of the input is float32, dividing the sum
by shape[1], which is of dtype int64, results in an output of dtype
float64, which is wrong.

fixed to use theano.tensor.mean instead.

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