|
8 | 8 | from edward import util
|
9 | 9 |
|
10 | 10 | # Direct imports for convenience
|
11 |
| -from edward.criticisms import evaluate, ppc, ppc_density_plot, \ |
12 |
| - ppc_stat_hist_plot |
13 |
| -from edward.inferences import Inference, MonteCarlo, VariationalInference, \ |
14 |
| - HMC, MetropolisHastings, SGLD, SGHMC, \ |
15 |
| - KLpq, KLqp, ReparameterizationKLqp, ReparameterizationKLKLqp, \ |
16 |
| - ReparameterizationEntropyKLqp, ScoreKLqp, ScoreKLKLqp, ScoreEntropyKLqp, \ |
17 |
| - ScoreRBKLqp, WakeSleep, GANInference, BiGANInference, WGANInference, \ |
18 |
| - ImplicitKLqp, MAP, Laplace, complete_conditional, Gibbs |
| 11 | +from edward.criticisms import ( |
| 12 | + evaluate, ppc, ppc_density_plot, ppc_stat_hist_plot) |
| 13 | +from edward.inferences import ( |
| 14 | + Inference, MonteCarlo, VariationalInference, |
| 15 | + HMC, MetropolisHastings, SGLD, SGHMC, |
| 16 | + KLpq, KLqp, ReparameterizationKLqp, ReparameterizationKLKLqp, |
| 17 | + ReparameterizationEntropyKLqp, ScoreKLqp, ScoreKLKLqp, ScoreEntropyKLqp, |
| 18 | + ScoreRBKLqp, WakeSleep, GANInference, BiGANInference, WGANInference, |
| 19 | + ImplicitKLqp, MAP, Laplace, complete_conditional, Gibbs) |
19 | 20 | from edward.models import RandomVariable
|
20 |
| -from edward.util import check_data, check_latent_vars, copy, dot, \ |
21 |
| - get_ancestors, get_blanket, get_children, get_control_variate_coef, \ |
22 |
| - get_descendants, get_parents, get_session, get_siblings, get_variables, \ |
23 |
| - is_independent, Progbar, random_variables, rbf, set_seed, \ |
24 |
| - to_simplex, transform |
| 21 | +from edward.util import ( |
| 22 | + check_data, check_latent_vars, copy, dot, |
| 23 | + get_ancestors, get_blanket, get_children, get_control_variate_coef, |
| 24 | + get_descendants, get_parents, get_session, get_siblings, get_variables, |
| 25 | + is_independent, Progbar, random_variables, rbf, set_seed, |
| 26 | + to_simplex, transform) |
25 | 27 | from edward.version import __version__, VERSION
|
26 | 28 |
|
27 | 29 | from tensorflow.python.util.all_util import remove_undocumented
|
|
0 commit comments