mindspore.nn.probability
Probability.
The high-level components used to construct the probabilistic network.
Bayesian Layers
API Name |
Description |
Supported Platforms |
Convolutional variational layers with Reparameterization. |
|
|
Dense variational layers with Local Reparameterization. |
|
|
Dense variational layers with Reparameterization. |
|
Prior and Posterior Distributions
API Name |
Description |
Supported Platforms |
Build Normal distributions with trainable parameters. |
|
|
To initialize a normal distribution of mean 0 and standard deviation 0.1. |
|
Bayesian Wrapper Functions
API Name |
Description |
Supported Platforms |
Generate a suitable WithLossCell for BNN to wrap the bayesian network with loss function. |
|