<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/layers/dense_variational_v2.py) |

DenseVariational layer.

## Modules

[`kullback_leibler`](https://www.tensorflow.org/probability/api_docs/python/tfp/layers/dense_variational_v2/kullback_leibler) module: Registration and usage mechanisms for KL-divergences.

## Classes

[`class DenseVariational`](https://www.tensorflow.org/probability/api_docs/python/tfp/layers/DenseVariational): Dense layer with random `kernel` and `bias`.