def test_gaussian_kl(): graph = OrderedDict() X_sym = add_datasets_to_graph([X], ["X"], graph) fake_sigma = (.5 * X_sym + .001) ** 2 kl = gaussian_kl([X_sym, X_sym], [fake_sigma, fake_sigma], graph, 'gaussian_kl') theano.function([X_sym], [kl], mode="FAST_COMPILE")
def test_gaussian_kl(): fake_sigma = (.5 * X_sym + .001) ** 2 kl = gaussian_kl([X_sym, X_sym], [fake_sigma, fake_sigma]) theano.function([X_sym], [kl], mode="FAST_COMPILE")
def test_gaussian_kl(): fake_sigma = (.5 * X_sym + .001)**2 kl = gaussian_kl([X_sym, X_sym], [fake_sigma, fake_sigma]) theano.function([X_sym], [kl], mode="FAST_COMPILE")