edward2 icon indicating copy to clipboard operation
edward2 copied to clipboard

A simple probabilistic programming language.

Results 84 edward2 issues
Sort by recently updated
recently updated
newest added

`TypeError: Dimension value must be integer or None or have an __index__ method, got value '' with type ''` ``` hidden_layer = tf.keras.layers.Dense(16) inputs = tf.keras.Input((224,224,3)) out = hidden_layer(inputs) output_layer...

Applying `edward2.jax.nn.SpectralNormalization` to a vanilla Flax `nn.Dense` layer fails with a shape error because the kernel is left-multiplied with the input instead of right-multiplied. On line 143 of `spectral_norm.py` the...

Add joint NLL from Epistemic Neural Networks (https://arxiv.org/abs/2107.08924) to imagenet/* scripts.

Add slight speed improvement by avoiding tiling and reshapes. We implicitly tile with the BE's first einsum op. Instead of reshape, we carry around the additional ensemble size axis, and...

The batch size of my program changes dynamically, but the function 'get_ dropout_ mask_ for_cell' in recurrent.py can only generate a fixed size of ​mask. After run the code like...

Key error: "Trying to access `split['train']` but `splits` is empty. This likely indicate the dataset has not been generated yet. Thank you for your time.

Public: Adds util to compute binary predictive posterior variance

cla: no