Bayesian NN in master (#15)
Bayesian NN in master (#15)

* model primitives: add tensorflow wrapper

* model primitives: remove wrapper

* model primitives: in progress

* model primitives: in progress

* model primitives: minor fix

* model primitives: in progress

* model primitives: get output

* model primitives: in progress

* model primitives: in progress

* model primitives: in progress

* test of merge and bridge

* many_to_many

* model primitives: in progress

* minor fix

* minor fix

* tf.meshgrid

* minor fix

* model primitives: in progress

* discrete distribution extended to multi dimensions

* model primitives: clean distributions

* model primitives: in progress

* Discrete distribution logpdf modified

* minor fix

* test_get_output_control_deps failed

* StochasticGraph.get_output: fix control deps copy

* StochasticGraph.get_output(): nearly finished.

* distribution init

* Normal

* new distributions, not tested

* minor updates

* test of distributions and minor changes

* distributions: in progress

* distributions: in progress

* bernoulli test

* distributions: almost finished

* changes to make StochasticTensor

* StochasticTensor test

* distributions: static shape inference

* sync

* fix get_output for stochastic tensor

* get_output substitute placeholder bug

* minor updates

* new examples

* refactor examples to stochastic graph: vae init

* get_output: Assert bug fixed only at hand.

* get_output: check shape match

* locally working vae.

* minor changes

* hot fix for control flow copy (only cond flow), batch_norm works

* improve test for batch_norm

* new conv vae example

* minor updates for vae_conv

* toy example to new api

* vae_ssl

* ssl examples

* minor

* bayesian neural network (#13)

* bayesian neural network

* bayesian_nn, add dropout and flexible netowrk size

* del dropout and slight fix

* clean bayesian nn

* Fix bayesian nn.

thu-ml/zhusuan