Keras:An operation has `None` for gradient. Please make sure that all of your ops have a gradient

NoSuchKey