fix soft sign deprecation warning (#2623)
fix soft sign deprecation warning (#2623)

and backward compatible
keras-team/keras,kuza55/keras,keras-team/keras,nebw/keras,relh/keras,dolaameng/keras,kemaswill/keras,DeepGnosis/keras