changed warning method to be adjustable
changed warning method to be adjustable

assert replaced by raise Error

farizrahman4u/keras-contrib,keras-team/keras-contrib,keras-team/keras-contrib,keras-team/keras-contrib