def kl_divergence(p, p_hat):
    return p_hat - p + p * K.log(p / p_hat)
Test that ModelMultipleChoiceField run given validators (#14144).
dataset/ETHPy150Open maxpumperla/elephas/elephas/optimizers.py/kl_divergence--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/model_forms_regress/tests.py/ModelMultipleChoiceFieldTests.test_model_multiple_choice_run_validators