Skip to content

Commit

Permalink
Merge pull request #1623 from huynhnguyen/master
Browse files Browse the repository at this point in the history
fix issue with advi when running on GPU
  • Loading branch information
twiecki committed Jan 2, 2017
2 parents cad8ec2 + 5376771 commit 0bc5f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/variational/advi.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _calc_elbo(vars, model, n_mcsamples, random_seed):

uw = tt.vector('uw')
uw.tag.test_value = np.concatenate([inarray.tag.test_value,
inarray.tag.test_value])
inarray.tag.test_value]).astype(theano.config.floatX)

elbo = _elbo_t(logp, uw, inarray, n_mcsamples, random_seed)

Expand Down

0 comments on commit 0bc5f8f

Please sign in to comment.